From c72f70f09dd2bf59a50e8d1406b158d3f84b7a3f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Mar 2015 15:24:37 +0000 Subject: fix for printing error messages git-svn-id: http://svn.miranda-ng.org/main/trunk@12327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msglog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index 458ec01406..9f02bf9383 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, _A2T(dbei.szModule), MAKELONG(isSent, dat->bIsHistory)); + AppendUnicodeToBuffer(buffer, bufferEnd, bufferAlloced, LPCTSTR(dbei.szModule), MAKELONG(isSent, dat->bIsHistory)); break; case 'M': // message switch (dbei.eventType) { -- cgit v1.2.3