Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- dlls/user32/driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/driver.c b/dlls/user32/driver.c index 40bbc25c7bc..d8bb7a423e7 100644 --- a/dlls/user32/driver.c +++ b/dlls/user32/driver.c @@ -491,6 +491,7 @@ static INT CDECL nulldrv_ToUnicodeEx( UINT virt, UINT scan, const BYTE *state, L int size, UINT flags, HKL layout ) { WCHAR buffer[2]; + BOOL alt = state[VK_MENU] & 0x80; BOOL shift = state[VK_SHIFT] & 0x80; BOOL ctrl = state[VK_CONTROL] & 0x80; BOOL numlock = state[VK_NUMLOCK] & 0x01; @@ -550,7 +551,7 @@ static INT CDECL nulldrv_ToUnicodeEx( UINT virt, UINT scan, const BYTE *state, L break; } } - else /* Control codes */ + else if (!alt) /* Control codes */ { switch (virt) {