summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-13 21:46:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-13 21:46:58 +0300
commit8ed1a9382f88102f1a77a392a4ec43e60647e7e9 (patch)
tree3e2275391149398209b8a4cc816a705962c22194 /plugins/TabSRMM/src/utils.cpp
parentcbcc7740eef70c30660f41acc0ae78a6c48eb2f0 (diff)
fixes (#1010) tabsrmm group chat colors regression (#1010)
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r--plugins/TabSRMM/src/utils.cpp17
1 files changed, 13 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index aa4110c804..6c6c3e2bab 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -416,13 +416,22 @@ int CTabBaseDlg::FindRTLLocale()
static TRTFColorTable _rtf_ctable[] =
{
- { L"red", RGB(255, 0, 0), ID_FONT_RED },
+ { L"black", 0, ID_FONT_BLACK },
+ { L"", RGB(0,0,128), -1 },
+ { L"", RGB(0,128,128), -1 },
+ { L"", RGB(128,0,128), -1 },
+ { L"", RGB(0,128,0), -1 },
+ { L"", RGB(128,128,0), -1 },
+ { L"", RGB(128,0,0), -1 },
+ { L"", RGB(128,128,128), -1 },
+
+ { L"", RGB(192,192,192), -1 },
{ L"blue", RGB(0, 0, 255), ID_FONT_BLUE },
- { L"green", RGB(0, 255, 0), ID_FONT_GREEN },
+ { L"cyan", RGB(0, 255, 255), ID_FONT_CYAN },
{ L"magenta", RGB(255, 0, 255), ID_FONT_MAGENTA },
+ { L"green", RGB(0, 255, 0), ID_FONT_GREEN },
{ L"yellow", RGB(255, 255, 0), ID_FONT_YELLOW },
- { L"cyan", RGB(0, 255, 255), ID_FONT_CYAN },
- { L"black", 0, ID_FONT_BLACK },
+ { L"red", RGB(255, 0, 0), ID_FONT_RED },
{ L"white", RGB(255, 255, 255), ID_FONT_WHITE }
};