From 36fa7d4b709b98c98915e6d34e0e4466d0cc58be Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Feb 2015 21:58:23 +0000 Subject: fix for Chinese in error template's preview git-svn-id: http://svn.miranda-ng.org/main/trunk@12150 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msglog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index 91a4b2fb00..838e6eba23 100644 --- a/plugins/TabSRMM/src/msglog.cpp +++ b/plugins/TabSRMM/src/msglog.cpp @@ -834,7 +834,7 @@ static char* Template_CreateRTFFromDbEvent(TWindowData *dat, MCONTACT hContact, break; case 'e': // error message AppendToBuffer(buffer, bufferEnd, bufferAlloced, "%s ", GetRTFFont(MSGFONTID_ERROR)); - AppendUnicodeToBuffer(buffer, bufferEnd, bufferAlloced, (wchar_t *)dbei.szModule, MAKELONG(isSent, dat->bIsHistory)); + AppendUnicodeToBuffer(buffer, bufferEnd, bufferAlloced, _A2T(dbei.szModule), MAKELONG(isSent, dat->bIsHistory)); break; case 'M': // message switch (dbei.eventType) { -- cgit v1.2.3