diff options
author | Goraf <goraf@miranda-ng.org> | 2016-01-30 22:47:17 +0000 |
---|---|---|
committer | Goraf <goraf@miranda-ng.org> | 2016-01-30 22:47:17 +0000 |
commit | 31d9726d61bd002b4405781383b6a58433dd9296 (patch) | |
tree | a91c9b23c7ad4371b32797ae01cf3bc0b4ffec9f /plugins/YAPP | |
parent | c820fb6a8648b63e6d7d40b165ac047533dadfa3 (diff) |
TRACKMOUSEEVENT zeroed out
git-svn-id: http://svn.miranda-ng.org/main/trunk@16200 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP')
-rw-r--r-- | plugins/YAPP/src/popwin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/YAPP/src/popwin.cpp b/plugins/YAPP/src/popwin.cpp index 44f2209b52..3bfa589fb7 100644 --- a/plugins/YAPP/src/popwin.cpp +++ b/plugins/YAPP/src/popwin.cpp @@ -280,7 +280,8 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa if (pwd && !pwd->mouse_in) {
pwd->mouse_in = true;
global_mouse_in++;
- TRACKMOUSEEVENT tme = { sizeof(tme) };
+ TRACKMOUSEEVENT tme = { 0 };
+ tme.cbSize = sizeof(tme);
tme.dwFlags = TME_LEAVE;
tme.hwndTrack = hwnd;
TrackMouseEvent(&tme);
|