summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-12-29 09:59:12 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-12-29 09:59:12 +0000
commit457202107f1990d8da73db742fbe0f6d3d6d9fc2 (patch)
tree8b1072943cd943e033854466abd30c24c632f4f0 /plugins
parentc5d063641ee1d9e0a4ca9872fbc4d1578731d9a6 (diff)
RichEdit behavior normalizations?
git-svn-id: http://svn.miranda-ng.org/main/trunk@11667 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 6a62cba9d9..0d6f1b884c 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -1353,13 +1353,13 @@ void TSAPI StreamInEvents(HWND hwndDlg, HANDLE hDbEventFirst, int count, int fAp
ReplaceIcons(hwndDlg, dat, startAt, fAppend, isSent);
dat->clr_added = FALSE;
- HWND hwndLog = GetDlgItem(hwndDlg, IDC_LOG);
- if (dat->hwndIEView == 0 && dat->hwndHPP == 0) {
- int len = GetWindowTextLength(hwndLog);
- SendMessage(hwndLog, EM_SETSEL, len - 1, len - 1);
- }
-
- DM_ScrollToBottom(dat, 0, 0);
+ HWND hwndLog = GetDlgItem(hwndDlg, IDC_LOG);
+ if (dat->hwndIEView == 0 && dat->hwndHPP == 0) {
+ int len = GetWindowTextLength(hwndLog);
+ SendMessage(hwndLog, EM_SETSEL, len - 1, len - 1);
+ }
+
+// DM_ScrollToBottom(dat, 0, 0);
SendMessage(hwndLog, WM_SETREDRAW, TRUE, 0);
InvalidateRect(hwndLog, NULL, FALSE);