Commit cfe4c7fd authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

user32: Use left shift instead of right shift (Coverity).

parent 49828372
...@@ -209,7 +209,7 @@ static BOOL CreateWindows (HINSTANCE hinst) ...@@ -209,7 +209,7 @@ static BOOL CreateWindows (HINSTANCE hinst)
/* Form the lParam of a WM_KEYDOWN message */ /* Form the lParam of a WM_KEYDOWN message */
static DWORD KeyDownData (int repeat, int scancode, int extended, int wasdown) static DWORD KeyDownData (int repeat, int scancode, int extended, int wasdown)
{ {
return ((repeat & 0x0000FFFF) | ((scancode & 0x00FF) >> 16) | return ((repeat & 0x0000FFFF) | ((scancode & 0x00FF) << 16) |
(extended ? 0x01000000 : 0) | (wasdown ? 0x40000000 : 0)); (extended ? 0x01000000 : 0) | (wasdown ? 0x40000000 : 0));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment