From 6813bac6fee9b1ca6b80c700db30f54416782282 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 8 Dec 2016 16:58:19 +0300 Subject: fix for the control codes in Scriver --- plugins/Scriver/src/msgdialog.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'plugins/Scriver/src/msgdialog.cpp') 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); } -- cgit v1.2.3