win32u: Do not call the lparam for WM_SYSTIMER messages.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-04-20 19:15:32 -05:00 committed by Alexandre Julliard
parent 5e4dedff8e
commit 019313b63e
1 changed files with 1 additions and 1 deletions

View File

@ -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 */