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

Zebediah Figura zfigura at codeweavers.com
Wed Apr 20 15:26:48 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 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 */
-- 
2.35.1




More information about the wine-devel mailing list