[PATCH 5/6] win32u: Do not call the lparam for WM_SYSTIMER messages.

Zebediah Figura zfigura at codeweavers.com
Thu Apr 14 20:14:14 CDT 2022


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 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 f492aeed8f9..fef12e333a5 100644
--- a/dlls/win32u/message.c
+++ b/dlls/win32u/message.c
@@ -2450,7 +2450,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 */
-- 
2.35.1




More information about the wine-devel mailing list