diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-08 16:58:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-08 16:58:19 +0300 |
commit | 6813bac6fee9b1ca6b80c700db30f54416782282 (patch) | |
tree | 69689ccd63f0402aa318d38054aa5fdc6d933691 /plugins/Scriver/src/msgdialog.cpp | |
parent | 83f8ea45f94d1d176c0fb3ca37bbdf8358196908 (diff) |
fix for the control codes in Scriver
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index cc2a85b382..b40546ee8a 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -116,14 +116,8 @@ void NotifyLocalWinEvent(MCONTACT hContact, HWND hwnd, unsigned int type) mwe.szModule = SRMMMOD;
mwe.uType = type;
mwe.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
- if (WindowList_Find(pci->hWindowList, hContact)) {
- mwe.hwndInput = GetDlgItem(hwnd, IDC_MESSAGE);
- mwe.hwndLog = GetDlgItem(hwnd, IDC_LOG);
- }
- else {
- mwe.hwndInput = GetDlgItem(hwnd, IDC_CHAT_MESSAGE);
- mwe.hwndLog = GetDlgItem(hwnd, IDC_CHAT_LOG);
- }
+ mwe.hwndInput = GetDlgItem(hwnd, IDC_MESSAGE);
+ mwe.hwndLog = GetDlgItem(hwnd, IDC_LOG);
NotifyEventHooks(hHookWinEvt, 0, (LPARAM)&mwe);
}
|