diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-16 11:50:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-16 11:50:58 +0000 |
commit | a1a305735072f66fc48de018d187ded085ecf89b (patch) | |
tree | 269b620466453a480d732bdff4eda68fdf84eab1 /plugins/IEView/src/HistoryHTMLBuilder.cpp | |
parent | 2a1cd0326fa6a54d7cfee9187fbe4f7849c55620 (diff) |
own UTF8Encode removed. now use core encoding.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/HistoryHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/HistoryHTMLBuilder.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/IEView/src/HistoryHTMLBuilder.cpp b/plugins/IEView/src/HistoryHTMLBuilder.cpp index f0cb077253..129941cf5c 100644 --- a/plugins/IEView/src/HistoryHTMLBuilder.cpp +++ b/plugins/IEView/src/HistoryHTMLBuilder.cpp @@ -89,7 +89,9 @@ char *HistoryHTMLBuilder::timestampToString(DWORD dwFlags, time_t check) { dbtts.szFormat = (char *)"d t";
CallService(MS_DB_TIME_TIMESTAMPTOSTRING, check, (LPARAM) & dbtts);
strncat(szResult, str, 500);
- Utils::UTF8Encode(szResult, szResult, 500);
+ char *tmp = mir_utf8encode(szResult);
+ lstrcpynA(szResult, tmp, 500);
+ mir_free(tmp);
return szResult;
}
|