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/KeyboardNotify/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/KeyboardNotify/src') diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp index 277ae0e0f4..4aad0b4575 100644 --- a/plugins/KeyboardNotify/src/main.cpp +++ b/plugins/KeyboardNotify/src/main.cpp @@ -842,7 +842,7 @@ void createEventPrefix(wchar_t *prefixName, size_t maxLen) BOOL CheckMsgWnd(MCONTACT hContact, BOOL *focus) { if (hContact) { - MessageWindowData mwd = { sizeof(MessageWindowData) }; + MessageWindowData mwd; if (!CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&mwd) && mwd.hwndWindow) { *focus = mwd.uState & MSG_WINDOW_STATE_FOCUS; return TRUE; -- cgit v1.2.3