diff options
Diffstat (limited to 'plugins/IEView/src/ChatHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/ChatHTMLBuilder.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/IEView/src/ChatHTMLBuilder.cpp b/plugins/IEView/src/ChatHTMLBuilder.cpp index 8eedfa1ef1..636f070464 100644 --- a/plugins/IEView/src/ChatHTMLBuilder.cpp +++ b/plugins/IEView/src/ChatHTMLBuilder.cpp @@ -87,7 +87,9 @@ char *ChatHTMLBuilder::timestampToString(time_t time) char *pszStamp = "[%H:%M]";
//InitSetting( &g_Settings.pszTimeStamp, "HeaderTime", _T("[%H:%M]"));
strftime(str, 79, pszStamp, localtime(&time));
- Utils::UTF8Encode(str, szResult, 500);
+ char *tmp = mir_utf8encode(str);
+ lstrcpynA(szResult, tmp, 500);
+ mir_free(tmp);
return szResult;
}
|