From 6fcfba2c46a456677b5825a899469ba4e8905448 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 May 2015 17:49:58 +0000 Subject: replace strncpy to mir_strncpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp index 79335a9182..6aeab1a831 100644 --- a/protocols/JabberG/src/jabber_menu.cpp +++ b/protocols/JabberG/src/jabber_menu.cpp @@ -602,7 +602,7 @@ INT_PTR __cdecl CJabberProto::OnMenuBookmarkAdd(WPARAM hContact, LPARAM) void CJabberProto::MenuInit() { char text[200]; - strncpy(text, m_szModuleName, sizeof(text)-1); + mir_strncpy(text, m_szModuleName, sizeof(text)-1); char* tDest = text + mir_strlen(text); CLISTMENUITEM mi = { sizeof(mi) }; @@ -825,7 +825,7 @@ void CJabberProto::GlobalMenuInit() // Hotkeys char text[200]; - strncpy(text, m_szModuleName, sizeof(text) - 1); + mir_strncpy(text, m_szModuleName, sizeof(text) - 1); char* tDest = text + mir_strlen(text); HOTKEYDESC hkd = { sizeof(hkd) }; -- cgit v1.2.3