mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winex11: Make a constant unsigned to avoid shift overflow in get_locale_kbd_layout.
This commit is contained in:
parent
25c78aac08
commit
2b42ddf68a
1 changed files with 1 additions and 1 deletions
|
@ -1592,7 +1592,7 @@ static HKL get_locale_kbd_layout(void)
|
|||
*/
|
||||
langid = PRIMARYLANGID(LANGIDFROMLCID(layout));
|
||||
if (langid == LANG_CHINESE || langid == LANG_JAPANESE || langid == LANG_KOREAN)
|
||||
layout |= 0xe001 << 16; /* IME */
|
||||
layout = MAKELONG( layout, 0xe001 ); /* IME */
|
||||
else
|
||||
layout |= layout << 16;
|
||||
|
||||
|
|
Loading…
Reference in a new issue