summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-11 16:51:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-11 16:51:29 +0300
commit78ffd40384ed8a7df3f5bccb3480e7c424bbb90c (patch)
tree6e9f89121634d7244e58b71bbd970a4dbcb1c100 /plugins/TabSRMM/src/generic_msghandlers.cpp
parent0d1988620932dc892064e1423db82358ae0bf744 (diff)
Fixes #2982:
- status change events are now considered tabSRMM specific and are generated only for tabSRMM embedded log viewer - code cleaning
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 b34ab7f6e6..8525ef002b 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -632,7 +632,7 @@ void CMsgDialog::DM_ScrollToBottom(WPARAM wParam, LPARAM lParam)
if (IsIconic(m_pContainer->m_hwnd))
m_bDeferredScroll = true;
- if (m_iLogMode == 0)
+ if (m_iLogMode == WANT_BUILTIN_LOG)
((CLogWindow *)m_pLog)->ScrollToBottom(wParam != 0, lParam != 0);
else
m_pLog->ScrollToBottom();
@@ -781,7 +781,7 @@ void CMsgDialog::DM_ThemeChanged()
m_hTheme = OpenThemeData(m_hwnd, L"EDIT");
if (m_hTheme != nullptr || (CSkin::m_skinEnabled && !item_log->IGNORED)) {
- if (m_iLogMode == 0)
+ if (m_iLogMode == WANT_BUILTIN_LOG)
LOG()->DisableStaticEdge();
if (isChat())