From 5aed15a8d8d8e4f913539761be496e0d1ba2c4f0 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 24 May 2015 12:20:50 +0000 Subject: replace wcslen to mir_wstrlen git-svn-id: http://svn.miranda-ng.org/main/trunk@13813 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAMN/src/mails/mime.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/YAMN/src/mails/mime.cpp') diff --git a/plugins/YAMN/src/mails/mime.cpp b/plugins/YAMN/src/mails/mime.cpp index 0c7449bf94..582db8d5a2 100644 --- a/plugins/YAMN/src/mails/mime.cpp +++ b/plugins/YAMN/src/mails/mime.cpp @@ -652,7 +652,7 @@ WCHAR *ParseMultipartBody(char *src, char *bond) FailBackRaw: ConvertStringToUnicode(partData[i].body,partData[i].CodePage,&partData[i].wBody); } - resultSize += wcslen(partData[i].wBody); + resultSize += mir_wstrlen(partData[i].wBody); }// if (partData[i].body) resultSize += 100+4+3; //cr+nl+100+ 3*bullet } @@ -696,7 +696,7 @@ FailBackRaw: dest[destpos] = dest[destpos+1] = dest[destpos+2] = 0x2022; // bullet; destpos += 3; ConvertStringToUnicode(infoline,CP_ACP,&temp); - size_t wsize = wcslen(temp); + size_t wsize = mir_wstrlen(temp); wcscpy(&dest[destpos],temp); destpos += wsize; delete[] temp; @@ -704,7 +704,7 @@ FailBackRaw: } // if (i) if (partData[i].wBody) { - size_t wsize = wcslen(partData[i].wBody); + size_t wsize = mir_wstrlen(partData[i].wBody); wcscpy(&dest[destpos],partData[i].wBody); destpos += wsize; delete[] partData[i].wBody; -- cgit v1.2.3