diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-16 16:37:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-16 16:37:41 +0300 |
commit | 46e67c5053479beafce3716ec8be4f7e997e7fc9 (patch) | |
tree | 2f1ca53d3efd175f0b9d396c54d108cfc39411f1 /plugins/TabSRMM | |
parent | 47b79689fcbe77ab19eb577487ef70642fa291f7 (diff) |
common code went to the core
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgdlgother.cpp | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 1dde4270ea..12f4643670 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -541,7 +541,7 @@ void CMsgDialog::DM_ScrollToBottom(WPARAM wParam, LPARAM lParam) m_bDeferredScroll = true;
if (m_iLogMode == WANT_BUILTIN_LOG)
- ((CLogWindow *)m_pLog)->ScrollToBottom(wParam != 0, lParam != 0);
+ LOG()->ScrollToBottom(wParam != 0, lParam != 0);
else
m_pLog->ScrollToBottom();
}
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp index f9d345a4d8..10fcd4b601 100644 --- a/plugins/TabSRMM/src/msgdlgother.cpp +++ b/plugins/TabSRMM/src/msgdlgother.cpp @@ -1548,7 +1548,10 @@ void CMsgDialog::RemakeLog() m_szMicroLf[0] = 0;
m_lastEventTime = 0;
m_iLastEventType = -1;
- StreamEvents(m_hDbEventFirst, -1, 0);
+
+ CSuper::RemakeLog();
+
+ DM_ScrollToBottom(0, 0);
}
/////////////////////////////////////////////////////////////////////////////////////////
|