summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-15 13:45:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-15 13:45:45 +0300
commit1e208187fe09bdc663b1087af19a23c71c0986db (patch)
treed47aff3344960d11ad27e57ba69d73a771b27857 /plugins/TabSRMM
parent0bc6905beb27cee9e288e6680e4ce6a85bcfd8e8 (diff)
tabSRMM: fix for broken colorized nicks in groupchats
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/chat_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat_log.cpp b/plugins/TabSRMM/src/chat_log.cpp
index 17d70dbe04..ad5fb9201b 100644
--- a/plugins/TabSRMM/src/chat_log.cpp
+++ b/plugins/TabSRMM/src/chat_log.cpp
@@ -803,7 +803,7 @@ char* Log_CreateRTF(LOGSTREAMDATA *streamData)
pszTemp.Replace(L"%s", L"~~++#%s#++~~");
if (g_Settings.bColorizeNicksInLog && pszIndicator[0])
- str.AppendFormat("\\cf%u ", OPTIONS_FONTCOUNT + streamData->crCount + crNickIndex);
+ str.AppendFormat("\\cf%u ", OPTIONS_FONTCOUNT + Utils::rtf_clrs.getCount() + streamData->crCount + crNickIndex);
}
if (g_Settings.bNewLineAfterNames)