From 31d9726d61bd002b4405781383b6a58433dd9296 Mon Sep 17 00:00:00 2001 From: Goraf Date: Sat, 30 Jan 2016 22:47:17 +0000 Subject: TRACKMOUSEEVENT zeroed out git-svn-id: http://svn.miranda-ng.org/main/trunk@16200 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MyDetails/src/frame.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/MyDetails') diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index 199523aaa3..ee63734e94 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -1372,7 +1372,7 @@ void MakeHover(HWND hwnd, bool draw, bool *hover, POINT *p, RECT *r) InvalidateRect(hwnd, NULL, FALSE); - TRACKMOUSEEVENT tme; + TRACKMOUSEEVENT tme = { 0 }; tme.cbSize = sizeof(TRACKMOUSEEVENT); tme.dwFlags = TME_LEAVE; tme.hwndTrack = hwnd; @@ -1546,7 +1546,7 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar SetCycleTime(hwnd); SetStatusMessageRefreshTime(hwnd); { - TRACKMOUSEEVENT tme; + TRACKMOUSEEVENT tme = { 0 }; tme.cbSize = sizeof(TRACKMOUSEEVENT); tme.dwFlags = TME_HOVER | TME_LEAVE; tme.hwndTrack = hwnd; @@ -2050,7 +2050,7 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar case WM_NCMOUSELEAVE: case WM_MOUSELEAVE: { - TRACKMOUSEEVENT tme; + TRACKMOUSEEVENT tme = { 0 }; tme.cbSize = sizeof(TRACKMOUSEEVENT); tme.dwFlags = TME_HOVER; tme.hwndTrack = hwnd; @@ -2068,7 +2068,7 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar case WM_MOUSEHOVER: { - TRACKMOUSEEVENT tme; + TRACKMOUSEEVENT tme = { 0 }; tme.cbSize = sizeof(TRACKMOUSEEVENT); tme.dwFlags = TME_LEAVE; tme.hwndTrack = hwnd; -- cgit v1.2.3