diff options
author | George Hazan <ghazan@miranda.im> | 2017-10-16 22:47:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-10-16 22:47:10 +0300 |
commit | 53ff16b147c30de05cd21e3f97b0ae0106dd9566 (patch) | |
tree | 9afbb24421d8282dee04878ef0476547dc4d4f1c /src/core | |
parent | 472296cacaa7f230f6d99c7d1b6e44003de749af (diff) |
the whole idea of customizable colors in chat considered totally useless
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/chat_window.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/stdafx.h | 2 |
2 files changed, 2 insertions, 2 deletions
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);
|