summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index 135e812501..dfd59845c2 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -970,8 +970,6 @@ void TSAPI DM_ScrollToBottom(TWindowData *dat, WPARAM wParam, LPARAM lParam)
SendMessage(hwnd, WM_SIZE, 0, 0);
if (wParam == 1 && lParam == 1) {
- RECT rc;
- GetClientRect(hwnd, &rc);
int len = GetWindowTextLength(hwnd);
SendMessage(hwnd, EM_SETSEL, len - 1, len - 1);
}