[PATCH 2/2] [Kernel32]: fix the management of input records withENHANCED_KEY set

Dmitry Timoshkov dmitry at codeweavers.com
Mon Apr 27 22:02:41 CDT 2009


"Eric Pouech" <eric.pouech at orange.fr> wrote:

> --- a/dlls/kernel32/editline.c
> +++ b/dlls/kernel32/editline.c
> @@ -818,7 +818,7 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn)
> /* EPP  WCEL_Dump(&ctx, "before func"); */
>  ofs = ctx.ofs;
>         /* mask out some bits which don't interest us */
> -        ks = ir.Event.KeyEvent.dwControlKeyState & ~(NUMLOCK_ON|SCROLLLOCK_ON|CAPSLOCK_ON|ENHANCED_KEY);
> +        ks = ir.Event.KeyEvent.dwControlKeyState & ~(NUMLOCK_ON|SCROLLLOCK_ON|CAPSLOCK_ON);

This reverts the following commit
http://www.winehq.org/pipermail/wine-cvs/2008-October/049124.html

which was a fix for the bug 4558.

-- 
Dmitry.



More information about the wine-devel mailing list