summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msglog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-01 13:23:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-01 13:23:24 +0300
commitaefca653e36f688b6bed627019ba737430b53f52 (patch)
treef85e8977ec30dc021f3b6add4ce0b7037c2c8bb7 /plugins/TabSRMM/src/msglog.cpp
parent5165df4565a63dceaccbb89ce94d841d413895ed (diff)
further code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp4
1 files changed, 2 insertions, 2 deletions
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);