From ee697e0b699bcefec907c089e3ad455538c72c2f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 24 May 2015 12:35:03 +0000 Subject: replace wcscpy to mir_wstrcpy replace wcscat to mir_wstrcat replace wcsncat to mir_wstrncat replace wcscmp to mir_wstrcmp replace wcsicmp to mir_wstrcmpi git-svn-id: http://svn.miranda-ng.org/main/trunk@13814 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/crypt_lists.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SecureIM/src/crypt_lists.cpp') diff --git a/plugins/SecureIM/src/crypt_lists.cpp b/plugins/SecureIM/src/crypt_lists.cpp index b0407c4a55..3ea94b4b62 100644 --- a/plugins/SecureIM/src/crypt_lists.cpp +++ b/plugins/SecureIM/src/crypt_lists.cpp @@ -196,7 +196,7 @@ void getContactNameA(MCONTACT hContact, LPSTR szName) void getContactName(MCONTACT hContact, LPSTR szName) { - wcscpy((LPWSTR)szName, (LPWSTR)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GSMDF_UNICODE)); + mir_wstrcpy((LPWSTR)szName, (LPWSTR)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GSMDF_UNICODE)); } void getContactUinA(MCONTACT hContact, LPSTR szUIN) @@ -230,7 +230,7 @@ void getContactUin(MCONTACT hContact, LPSTR szUIN) getContactUinA(hContact, szUIN); if (*szUIN) { LPWSTR tmp = mir_a2u(szUIN); - wcscpy((LPWSTR)szUIN, tmp); + mir_wstrcpy((LPWSTR)szUIN, tmp); mir_free(tmp); } } -- cgit v1.2.3