summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-31 21:00:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-31 21:00:00 +0000
commitcc811fcacd5e79a2334e26f3c38b45ceb34edfcb (patch)
tree91c822d592e8b16aa5b955fd66c206690ae09159
parent34f4b1928ea5ae86b7ead92d8dc2c53842499f31 (diff)
custom events shall not be colored as timestamp
git-svn-id: http://svn.miranda-ng.org/main/trunk@7979 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/TabSRMM/src/msglog.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}