diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-28 15:12:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-28 15:12:27 +0300 |
commit | 3ffc894a7a132a013e74fe063b72d79e17c998dc (patch) | |
tree | 83f08037d2f840f72d79d393fdd20916e6cf6858 /plugins/KeyboardNotify/src | |
parent | 1e49d6b2cb3812d8e80051cbb3d44891e6532825 (diff) |
we don't need the uFlags field either
Diffstat (limited to 'plugins/KeyboardNotify/src')
-rw-r--r-- | plugins/KeyboardNotify/src/main.cpp | 2 |
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;
|