mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Reverse last change, as it causes problems for ReadConsole (line input)
svn path=/trunk/; revision=12764
This commit is contained in:
parent
366252dce4
commit
22244655d6
1 changed files with 11 additions and 18 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: keyboard.c,v 1.35 2004/12/28 08:50:10 gvg Exp $
|
/* $Id$
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -342,23 +342,16 @@ int STDCALL ToUnicodeEx( UINT wVirtKey,
|
||||||
HKL dwhkl ) {
|
HKL dwhkl ) {
|
||||||
int ToUnicodeResult = 0;
|
int ToUnicodeResult = 0;
|
||||||
|
|
||||||
if (0 == (lpKeyState[wVirtKey] & KS_DOWN_BIT))
|
IntLockQueueState;
|
||||||
{
|
ToUnicodeResult = ToUnicodeInner( wVirtKey,
|
||||||
ToUnicodeResult = 0;
|
wScanCode,
|
||||||
}
|
lpKeyState,
|
||||||
else
|
pwszBuff,
|
||||||
{
|
cchBuff,
|
||||||
IntLockQueueState;
|
wFlags,
|
||||||
ToUnicodeResult = ToUnicodeInner( wVirtKey,
|
PsGetWin32Thread() ?
|
||||||
wScanCode,
|
PsGetWin32Thread()->KeyboardLayout : 0 );
|
||||||
lpKeyState,
|
IntUnLockQueueState;
|
||||||
pwszBuff,
|
|
||||||
cchBuff,
|
|
||||||
wFlags,
|
|
||||||
PsGetWin32Thread() ?
|
|
||||||
PsGetWin32Thread()->KeyboardLayout : 0 );
|
|
||||||
IntUnLockQueueState;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ToUnicodeResult;
|
return ToUnicodeResult;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue