diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-26 09:14:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-26 09:14:05 +0000 |
commit | 6a78b8c34efc8856acab62e22c61a0883311170c (patch) | |
tree | 44fd56e7d52f7329f74f2116780aa3d023fb0ecd /plugins/TabSRMM/src | |
parent | 0c4b5818d8d705cd8361ad36bba6797d1daaf30d (diff) |
- warnings' fixes;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@15032 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/chat/log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/chat/log.cpp b/plugins/TabSRMM/src/chat/log.cpp index 9e2a5c573e..19e37c2676 100644 --- a/plugins/TabSRMM/src/chat/log.cpp +++ b/plugins/TabSRMM/src/chat/log.cpp @@ -989,9 +989,9 @@ void Log_StreamInEvent(HWND hwndDlg, LOGINFO* lin, SESSION_INFO *si, bool bRedra fi.chrg.cpMin = 0;
fi.chrg.cpMax = -1;
if (SendMessage(hwndRich, EM_FINDTEXTEX, FR_DOWN, (LPARAM)&fi) != 0) {
- CHARRANGE sel;
- sel.cpMin = 0;
- sel.cpMax = 20;
+ CHARRANGE rng;
+ rng.cpMin = 0;
+ rng.cpMax = 20;
SendMessage(hwndRich, EM_SETSEL, 0, fi.chrgText.cpMax + 1);
SendMessage(hwndRich, EM_REPLACESEL, TRUE, (LPARAM)_T(""));
}
|