summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-16 16:03:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-16 16:03:47 +0000
commit04c3d89a5cb462302d922888c0e203957229178a (patch)
tree20fb4cd1515cfea94196d30094a97a6c0625ca3a /plugins/TabSRMM/src
parent40382c69bc7f5ca21a06a0c8bcd3e16739ddcd11 (diff)
fix for icon selection in tabsrmm
git-svn-id: http://svn.miranda-ng.org/main/trunk@12145 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 9a8b32f15d..2735a51b38 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -1347,6 +1347,11 @@ void TSAPI StreamInEvents(HWND hwndDlg, MEVENT hDbEventFirst, int count, int fAp
ReplaceIcons(hwndDlg, dat, startAt, fAppend, isSent);
dat->clr_added = FALSE;
+ if (dat->hwndIEView == NULL && dat->hwndHPP == NULL) {
+ int len = GetWindowTextLength(hwndrtf);
+ SendMessage(hwndrtf, EM_SETSEL, len - 1, len - 1);
+ }
+
DM_ScrollToBottom(dat, 0, 0);
SendMessage(hwndrtf, WM_SETREDRAW, TRUE, 0);