summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-04 15:51:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-04 15:51:38 +0300
commit5bef9cc96f37de38f9f6388d5eeb42b8ed85edbd (patch)
tree25e935b00140c7fcef99739787078167f07eedf6 /plugins/TabSRMM/src/generic_msghandlers.cpp
parentfdd2e14a948e5dbbf764c8abcaf0e7043020d413 (diff)
fixes #2197 ([0.95.11 x64] IRC: Update broke text transformation shortcuts)
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index 2f9184d7b7..bf7794e3f8 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -883,7 +883,7 @@ void CMsgDialog::DM_NotifyTyping(int mode)
CallService(MS_PROTO_SELFISTYPING, hContact, m_nTypeMode);
}
-void CMsgDialog::DM_OptionsApplied(WPARAM, LPARAM lParam)
+void CMsgDialog::DM_OptionsApplied(bool bRemakeLog)
{
m_szMicroLf[0] = 0;
if (!m_pContainer->m_theme.isPrivate) {
@@ -909,7 +909,7 @@ void CMsgDialog::DM_OptionsApplied(WPARAM, LPARAM lParam)
if (m_hwnd == m_pContainer->m_hwndActive)
SendMessage(m_pContainer->m_hwnd, WM_SIZE, 0, 0);
InvalidateRect(m_message.GetHwnd(), nullptr, FALSE);
- if (!lParam) {
+ if (bRemakeLog) {
if (IsIconic(m_pContainer->m_hwnd))
m_bDeferredRemakeLog = true;
else