From 1e208187fe09bdc663b1087af19a23c71c0986db Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Nov 2017 13:45:45 +0300 Subject: tabSRMM: fix for broken colorized nicks in groupchats --- plugins/TabSRMM/src/chat_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3