diff options
Diffstat (limited to 'protocols/MSN/src/msn_mime.cpp')
-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 7c3274e6cf..9d70aeba6e 100644 --- a/protocols/MSN/src/msn_mime.cpp +++ b/protocols/MSN/src/msn_mime.cpp @@ -392,7 +392,7 @@ static size_t utf8toutf16(char* str, wchar_t* res) {
wchar_t *dec = mir_utf8decodeW(str);
if (dec == NULL) dec = mir_a2u(str);
- wcscpy(res, dec);
+ mir_wstrcpy(res, dec);
mir_free(dec);
return mir_wstrlen(res);
}
|