reactos/subsys/csrss/win32csr
diff -u -r1.4 -r1.5
--- conio.c 19 Feb 2004 06:59:50 -0000 1.4
+++ conio.c 25 Feb 2004 18:12:52 -0000 1.5
@@ -1,4 +1,4 @@
-/* $Id: conio.c,v 1.4 2004/02/19 06:59:50 arty Exp $
+/* $Id: conio.c,v 1.5 2004/02/25 18:12:52 hbirr Exp $
*
* reactos/subsys/csrss/win32csr/conio.c
*
@@ -1140,7 +1140,7 @@
}
}
- if (KeyState[VK_LSHIFT] || KeyState[VK_RSHIFT] & 0x80)
+ if (KeyState[VK_LSHIFT] & 0x80 || KeyState[VK_RSHIFT] & 0x80)
ssOut |= SHIFT_PRESSED;
if (KeyState[VK_LCONTROL] & 0x80)
@@ -1259,7 +1259,7 @@
}
ConInRec->InputEvent = er;
- ConInRec->Fake =
+ ConInRec->Fake = AsciiChar &&
(msg->message != WM_CHAR && msg->message != WM_SYSCHAR &&
msg->message != WM_KEYUP && msg->message != WM_SYSKEYUP);
ConInRec->NotChar = (msg->message != WM_CHAR && msg->message != WM_SYSCHAR);