Zebediah Figura : win32u: Do not call the lparam for WM_SYSTIMER messages.

Alexandre Julliard julliard at winehq.org
Thu Apr 21 15:21:38 CDT 2022


Module: wine
Branch: master
Commit: 019313b63e9a4b70bae519675d1940f503e6f1a7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=019313b63e9a4b70bae519675d1940f503e6f1a7

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Wed Apr 20 19:15:32 2022 -0500

win32u: Do not call the lparam for WM_SYSTIMER messages.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/win32u/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/win32u/message.c b/dlls/win32u/message.c
index 324df280b8d..02644e71929 100644
--- a/dlls/win32u/message.c
+++ b/dlls/win32u/message.c
@@ -2451,7 +2451,7 @@ LRESULT dispatch_message( const MSG *msg, BOOL ansi )
     LRESULT retval = 0;
 
     /* Process timer messages */
-    if (msg->lParam && (msg->message == WM_TIMER || msg->message == WM_SYSTIMER))
+    if (msg->lParam && msg->message == WM_TIMER)
     {
         params.func = (WNDPROC)msg->lParam;
         params.result = &retval; /* FIXME */




More information about the wine-cvs mailing list