diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-05 15:24:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-05 15:24:37 +0000 |
commit | c72f70f09dd2bf59a50e8d1406b158d3f84b7a3f (patch) | |
tree | 37258d9def2391ba9d30b5b09de7ace03631492b /plugins/TabSRMM/src/msglog.cpp | |
parent | d5b576ca4aafb5af42446c2a782c8a6071903489 (diff) |
fix for printing error messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@12327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msglog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) {
|