From ee4a01d19d2f7fe7ea34bff1ad8ef3dad9618a7d Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 27 Aug 2003 22:37:14 +0000 Subject: [PATCH] (w32_read_socket): Fix WM_MOUSEWHEEL assignment. --- src/ChangeLog | 2 ++ src/w32term.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7f6c3a32770..a5e0828471c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2003-08-27 Jason Rumney + * w32fns.c (syms_of_w32fns): Remove non-existent functions. + * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. 2003-08-26 Terje Rosten diff --git a/src/w32term.c b/src/w32term.c index 539df459402..d98f93e439f 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -4778,7 +4778,7 @@ w32_read_socket (sd, bufp, numchars, expected) if (msg.msg.message == msh_mousewheel) { /* Forward MSH_MOUSEWHEEL as WM_MOUSEWHEEL. */ - msg.msg.message == WM_MOUSEWHEEL; + msg.msg.message = WM_MOUSEWHEEL; prepend_msg (&msg); } break; -- 2.39.2