summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM')
-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);