From aefca653e36f688b6bed627019ba737430b53f52 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 1 Mar 2017 13:23:24 +0300 Subject: further code cleaning --- plugins/TabSRMM/src/msglog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/msglog.cpp') diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index a56c9183f1..336fe4687b 100644 --- a/plugins/TabSRMM/src/msglog.cpp +++ b/plugins/TabSRMM/src/msglog.cpp @@ -1269,7 +1269,7 @@ void CSrmmWindow::StreamInEvents(MEVENT hDbEventFirst, int count, int fAppend, D } event.count = count; CallService(pszService, 0, (LPARAM)&event); - DM_ScrollToBottom(this, 0, 0); + DM_ScrollToBottom(0, 0); if (fAppend && hDbEventFirst) m_hDbEventLast = hDbEventFirst; else @@ -1362,7 +1362,7 @@ void CSrmmWindow::StreamInEvents(MEVENT hDbEventFirst, int count, int fAppend, D SendMessage(hwndrtf, EM_SETSEL, len - 1, len - 1); } - DM_ScrollToBottom(this, 0, 0); + DM_ScrollToBottom(0, 0); SendMessage(hwndrtf, WM_SETREDRAW, TRUE, 0); InvalidateRect(hwndrtf, NULL, FALSE); -- cgit v1.2.3