summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-24 12:20:50 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-24 12:20:50 +0000
commit5aed15a8d8d8e4f913539761be496e0d1ba2c4f0 (patch)
treedd9996ff223dc09154ed3c65d51ce528a9b2f81d /protocols/AimOscar/src
parent2cd063aa25c633f2bf4213e007bf2df5d610d8e1 (diff)
replace wcslen to mir_wstrlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13813 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src')
-rw-r--r--protocols/AimOscar/src/conv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/AimOscar/src/conv.cpp b/protocols/AimOscar/src/conv.cpp
index c63010341b..7f6d6f1a3e 100644
--- a/protocols/AimOscar/src/conv.cpp
+++ b/protocols/AimOscar/src/conv.cpp
@@ -804,7 +804,7 @@ char* rtf_to_html(HWND hwndDlg,int DlgItem)
void wcs_htons(wchar_t * ch)
{
if (ch == NULL) return;
- for(size_t i=0;i<wcslen(ch);i++)
+ for(size_t i=0;i<mir_wstrlen(ch);i++)
ch[i]=_htons(ch[i]);
}
@@ -888,7 +888,7 @@ aimString::aimString(char* str)
{
wszString = mir_utf8decodeW(str);
wcs_htons(wszString);
- size = wcslen(wszString) * sizeof(wchar_t);
+ size = mir_wstrlen(wszString) * sizeof(wchar_t);
}
else
{