summaryrefslogtreecommitdiff
path: root/plugins/Popup
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/Popup
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/Popup')
-rw-r--r--plugins/Popup/src/opt_adv.cpp4
-rw-r--r--plugins/Popup/src/popup_wnd2.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/opt_adv.cpp b/plugins/Popup/src/opt_adv.cpp
index d4adb4adb7..461aa3d278 100644
--- a/plugins/Popup/src/opt_adv.cpp
+++ b/plugins/Popup/src/opt_adv.cpp
@@ -544,7 +544,7 @@ LRESULT CALLBACK AvatarTrackBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA
case WM_MOUSEMOVE:
{
- TRACKMOUSEEVENT tme;
+ TRACKMOUSEEVENT tme = { 0 };
tme.cbSize = sizeof(tme);
tme.dwFlags = TME_LEAVE;
tme.dwHoverTime = HOVER_DEFAULT;
@@ -593,7 +593,7 @@ LRESULT CALLBACK AlphaTrackBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
case WM_MOUSEMOVE:
{
- TRACKMOUSEEVENT tme;
+ TRACKMOUSEEVENT tme = { 0 };
tme.cbSize = sizeof(tme);
tme.dwFlags = TME_LEAVE;
tme.dwHoverTime = HOVER_DEFAULT;
diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp
index 2013df3330..e8d6b71a71 100644
--- a/plugins/Popup/src/popup_wnd2.cpp
+++ b/plugins/Popup/src/popup_wnd2.cpp
@@ -1185,7 +1185,7 @@ LRESULT CALLBACK PopupWnd2::WindowProc(UINT message, WPARAM wParam, LPARAM lPara
animate();
if (m_bIsHovered) break;
- TRACKMOUSEEVENT tme;
+ TRACKMOUSEEVENT tme = { 0 };
tme.cbSize = sizeof(tme);
tme.dwFlags = TME_LEAVE;
tme.dwHoverTime = HOVER_DEFAULT;