diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-19 14:23:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-19 14:23:08 +0000 |
commit | 797b7efe9a86a2ff4e7e4ecfc2219b633f10faa4 (patch) | |
tree | 6b8bf4ba3e2a80ab9c4826790847baeb1fea8b01 /plugins/Scriver/src/chat/log.cpp | |
parent | 6be9b9c1dd00da5ecd33cbc20ece4162ba56c402 (diff) |
- scriver to open metacontact window upon receiving an event
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9861 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/chat/log.cpp')
-rw-r--r-- | plugins/Scriver/src/chat/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/log.cpp b/plugins/Scriver/src/chat/log.cpp index 8346294b40..bb8274587b 100644 --- a/plugins/Scriver/src/chat/log.cpp +++ b/plugins/Scriver/src/chat/log.cpp @@ -139,7 +139,7 @@ void Log_StreamInEvent(HWND hwndDlg, LOGINFO* lin, SESSION_INFO *si, BOOL bRedra // do we need to restore the selection
if (oldsel.cpMax != oldsel.cpMin) {
- SendMessage(hwndRich, EM_EXSETSEL, 0, (LPARAM)& oldsel);
+ SendMessage(hwndRich, EM_EXSETSEL, 0, (LPARAM)&oldsel);
SendMessage(hwndRich, WM_SETREDRAW, TRUE, 0);
InvalidateRect(hwndRich, NULL, TRUE);
}
@@ -147,7 +147,7 @@ void Log_StreamInEvent(HWND hwndDlg, LOGINFO* lin, SESSION_INFO *si, BOOL bRedra // need to invalidate the window
if (bFlag) {
sel.cpMin = sel.cpMax = GetRichTextLength(hwndRich, CP_ACP, FALSE);
- SendMessage(hwndRich, EM_EXSETSEL, 0, (LPARAM)& sel);
+ SendMessage(hwndRich, EM_EXSETSEL, 0, (LPARAM)&sel);
SendMessage(hwndRich, WM_SETREDRAW, TRUE, 0);
InvalidateRect(hwndRich, NULL, TRUE);
}
|