From 53ff16b147c30de05cd21e3f97b0ae0106dd9566 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Oct 2017 22:47:10 +0300 Subject: the whole idea of customizable colors in chat considered totally useless --- src/core/stdmsg/src/chat_window.cpp | 2 +- src/core/stdmsg/src/stdafx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index 99b46e48d7..3c130511ed 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -149,7 +149,7 @@ void CChatRoomDlg::onClick_Ok(CCtrlButton *pButton) pci->SM_AddCommand(m_si->ptszID, m_si->pszModule, pszRtf); CMStringW ptszText(ptrW(mir_utf8decodeW(pszRtf))); - pci->DoRtfToTags(ptszText, mi->nColorCount, mi->crColors); + pci->DoRtfToTags(ptszText, 0, nullptr); ptszText.Trim(); ptszText.Replace(L"%", L"%%"); diff --git a/src/core/stdmsg/src/stdafx.h b/src/core/stdmsg/src/stdafx.h index 280bbf0263..7c8348f6e8 100644 --- a/src/core/stdmsg/src/stdafx.h +++ b/src/core/stdmsg/src/stdafx.h @@ -122,7 +122,7 @@ void Unload_ChatModule(void); void Load_ChatModule(void); // log.cpp -char* Log_CreateRtfHeader(MODULEINFO *mi); +char* Log_CreateRtfHeader(void); // window.cpp SESSION_INFO* SM_GetPrevWindow(SESSION_INFO *si); -- cgit v1.2.3