diff options
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r-- | protocols/MSN/src/msn_mime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_mime.cpp b/protocols/MSN/src/msn_mime.cpp index 131e9bfd39..7c3274e6cf 100644 --- a/protocols/MSN/src/msn_mime.cpp +++ b/protocols/MSN/src/msn_mime.cpp @@ -394,7 +394,7 @@ static size_t utf8toutf16(char* str, wchar_t* res) if (dec == NULL) dec = mir_a2u(str);
wcscpy(res, dec);
mir_free(dec);
- return wcslen(res);
+ return mir_wstrlen(res);
}
|