diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-10 21:46:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-10 21:47:09 +0300 |
commit | b9a3a98d6f2695a36ca27fa2d88e99fedd72cc98 (patch) | |
tree | beea931b224074701afadd5072db524d1b179219 /plugins/TabSRMM/src/generic_msghandlers.cpp | |
parent | bdbb894df1353ba2f5e8eb61a59acf901fd652e5 (diff) |
Group chats:
- GC_CONTROL_MSG left us forever;
- tons of old/unused/useless slack simply wiped out;
- new function: CSrmmBaseDialog::ClearLog
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 1f81e18ac1..88cc78091c 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -151,7 +151,7 @@ bool CTabBaseDlg::DM_GenericHotkeysCheck(MSG *message) return true; case TABSRMM_HK_CLEARLOG: - ClearLog(); + tabClearLog(); return true; case TABSRMM_HK_TOGGLESIDEBAR: @@ -479,7 +479,7 @@ LRESULT CTabBaseDlg::DM_MsgWindowCmdHandler(UINT cmd, WPARAM wParam, LPARAM lPar break; case IDM_CLEAR: - ClearLog(); + tabClearLog(); break; case IDC_PROTOCOL: @@ -612,7 +612,7 @@ void CTabBaseDlg::DM_InitRichEdit() pf2.dxOffset = m_pContainer->theme.left_indent + 30; if (!fIsChat) { - m_log.SetText(L""); + ClearLog(); m_log.SendMsg(EM_SETPARAFORMAT, 0, (LPARAM)&pf2); m_log.SendMsg(EM_SETLANGOPTIONS, 0, (LPARAM)SendDlgItemMessage(m_hwnd, IDC_LOG, EM_GETLANGOPTIONS, 0, 0) & ~IMF_AUTOKEYBOARD); // set the scrollbars etc to RTL/LTR (only for manual RTL mode) |