summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src
diff options
context:
space:
mode:
authorGoraf <goraf@miranda-ng.org>2016-01-30 22:47:17 +0000
committerGoraf <goraf@miranda-ng.org>2016-01-30 22:47:17 +0000
commit31d9726d61bd002b4405781383b6a58433dd9296 (patch)
treea91c9b23c7ad4371b32797ae01cf3bc0b4ffec9f /plugins/MyDetails/src
parentc820fb6a8648b63e6d7d40b165ac047533dadfa3 (diff)
TRACKMOUSEEVENT zeroed out
git-svn-id: http://svn.miranda-ng.org/main/trunk@16200 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MyDetails/src')
-rw-r--r--plugins/MyDetails/src/frame.cpp8
1 files changed, 4 insertions, 4 deletions
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;