[Bug 49203] New: Possible incorrect usage >= instead <= in shlview.c

WineHQ Bugzilla wine-bugs at winehq.org
Tue May 19 14:11:42 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49203

            Bug ID: 49203
           Summary: Possible incorrect usage >= instead <= in shlview.c
           Product: Wine
           Version: 5.8
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: shell32
          Assignee: wine-bugs at winehq.org
          Reporter: mikrutrafal54 at gmail.com
      Distribution: ---

`if ((lpmsg->message>=WM_KEYFIRST) && (lpmsg->message>=WM_KEYLAST))`

should probably look like

`if ((lpmsg->message>=WM_KEYFIRST) && (lpmsg->message<=WM_KEYLAST))`

https://github.com/wine-mirror/wine/blob/6d801377055911d914226a3c6af8d8637a63fa13/dlls/shell32/shlview.c#L1845

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list