From cc811fcacd5e79a2334e26f3c38b45ceb34edfcb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 31 Jan 2014 21:00:00 +0000 Subject: custom events shall not be colored as timestamp git-svn-id: http://svn.miranda-ng.org/main/trunk@7979 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msglog.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index 989d1daf69..910c7a16a0 100644 --- a/plugins/TabSRMM/src/msglog.cpp +++ b/plugins/TabSRMM/src/msglog.cpp @@ -1024,6 +1024,9 @@ static char *Template_CreateRTFFromDbEvent(TWindowData *dat, HANDLE hContact, HA break; default: + if (!skipFont) + AppendToBuffer(&buffer, &bufferEnd, &bufferAlloced, "%s ", GetRTFFont(isSent ? MSGFONTID_MYMSG + iFontIDOffset : MSGFONTID_YOURMSG + iFontIDOffset)); + ptrT tszText(DbGetEventTextT(&dbei, CP_ACP)); AppendUnicodeToBuffer(&buffer, &bufferEnd, &bufferAlloced, tszText, 0); } -- cgit v1.2.3