diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-13 21:46:58 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-13 21:46:58 +0300 |
commit | 8ed1a9382f88102f1a77a392a4ec43e60647e7e9 (patch) | |
tree | 3e2275391149398209b8a4cc816a705962c22194 /plugins/TabSRMM/src/chat_log.cpp | |
parent | cbcc7740eef70c30660f41acc0ae78a6c48eb2f0 (diff) |
fixes (#1010) tabsrmm group chat colors regression (#1010)
Diffstat (limited to 'plugins/TabSRMM/src/chat_log.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_log.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat_log.cpp b/plugins/TabSRMM/src/chat_log.cpp index 2211f60496..17d70dbe04 100644 --- a/plugins/TabSRMM/src/chat_log.cpp +++ b/plugins/TabSRMM/src/chat_log.cpp @@ -654,6 +654,11 @@ char* Log_CreateRtfHeader(void) for (int i = 0; i < OPTIONS_FONTCOUNT; i++)
str.AppendFormat("\\red%u\\green%u\\blue%u;", GetRValue(pci->aFonts[i].color), GetGValue(pci->aFonts[i].color), GetBValue(pci->aFonts[i].color));
+ for (int i = 0; i < Utils::rtf_clrs.getCount(); i++) {
+ COLORREF clr = Utils::rtf_clrs[i].clr;
+ str.AppendFormat("\\red%u\\green%u\\blue%u;", GetRValue(clr), GetGValue(clr), GetBValue(clr));
+ }
+
for (int i = 0; i < STATUSICONCOUNT; i++)
str.AppendFormat("\\red%u\\green%u\\blue%u;", GetRValue(g_Settings.nickColors[i]), GetGValue(g_Settings.nickColors[i]), GetBValue(g_Settings.nickColors[i]));
|