summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-28 15:12:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-28 15:12:27 +0300
commit3ffc894a7a132a013e74fe063b72d79e17c998dc (patch)
tree83f08037d2f840f72d79d393fdd20916e6cf6858 /plugins/KeyboardNotify
parent1e49d6b2cb3812d8e80051cbb3d44891e6532825 (diff)
we don't need the uFlags field either
Diffstat (limited to 'plugins/KeyboardNotify')
-rw-r--r--plugins/KeyboardNotify/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;