From e302fcfff440b242235ce53d7d2927c12ede933b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Zalewski?= Date: Sat, 14 Oct 2006 20:04:53 +0200 Subject: [PATCH] user32: Don't create timers with nEventId == 0 in TrackMouseEvent. --- dlls/user/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user/input.c b/dlls/user/input.c index 2be1cf53c70..ae649793372 100644 --- a/dlls/user/input.c +++ b/dlls/user/input.c @@ -967,7 +967,7 @@ TrackMouseEvent (TRACKMOUSEEVENT *ptme) /* Initialize HoverInfo variables even if not hover tracking */ tracking_info.pos = pos; - timer = SetSystemTimer(tracking_info.tme.hwndTrack, 0, hover_time, TrackMouseEventProc); + timer = SetSystemTimer(tracking_info.tme.hwndTrack, (UINT_PTR)&tracking_info.tme, hover_time, TrackMouseEventProc); } }