diff options
Diffstat (limited to 'plugins/YAPP/src/popwin.cpp')
-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);
|