diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-24 12:35:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-24 12:35:03 +0000 |
commit | ee697e0b699bcefec907c089e3ad455538c72c2f (patch) | |
tree | 030a675c2c93dc8b34a13b7fc9a3bea7477d84ba /plugins/SecureIM | |
parent | 5aed15a8d8d8e4f913539761be496e0d1ba2c4f0 (diff) |
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
Diffstat (limited to 'plugins/SecureIM')
-rw-r--r-- | plugins/SecureIM/src/crypt_lists.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
}
}
|