From 3ffc894a7a132a013e74fe063b72d79e17c998dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Mar 2017 15:12:27 +0300 Subject: we don't need the uFlags field either --- plugins/Scriver/src/msgs.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/Scriver/src/msgs.cpp') diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index b0c52cad36..7f15fcaff5 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -293,9 +293,6 @@ static INT_PTR GetWindowData(WPARAM hContact, LPARAM lParam) return 1; HWND hwnd = WindowList_Find(pci->hWindowList, hContact); - if (hwnd == nullptr) - hwnd = SM_FindWindowByContact(hContact); - mwd->uFlags = MSG_WINDOW_UFLAG_MSG_BOTH; mwd->hwndWindow = hwnd; mwd->local = 0; mwd->uState = SendMessage(hwnd, DM_GETWINDOWSTATE, 0, 0); -- cgit v1.2.3