winex11: Make a constant unsigned to avoid shift overflow in get_locale_kbd_layout.

This commit is contained in:
Gerald Pfeifer 2015-08-31 16:55:57 +02:00 committed by Alexandre Julliard
parent 25c78aac08
commit 2b42ddf68a
1 changed files with 1 additions and 1 deletions

View File

@ -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;