Commit in reactos/subsys/system/cmd on MAIN
console.c+1-111.8 -> 1.9
use ReadConsoleInputW() for unicode builds

reactos/subsys/system/cmd
console.c 1.8 -> 1.9
diff -u -r1.8 -r1.9
--- console.c	15 Aug 2004 22:15:23 -0000	1.8
+++ console.c	2 Nov 2004 20:47:05 -0000	1.9
@@ -1,4 +1,4 @@
-/* $Id: console.c,v 1.8 2004/08/15 22:15:23 chorns Exp $
+/* $Id: console.c,v 1.9 2004/11/02 20:47:05 weiden Exp $
  *
  *  CONSOLE.C - console input/output functions.
  *
@@ -53,12 +53,7 @@
 	if (hInput == INVALID_HANDLE_VALUE)
 		DebugPrintf (_T("Invalid input handle!!!\n"));
 #endif /* _DEBUG */
-#ifdef __REACTOS__
-	/* ReadConsoleInputW isn't implwmented within ROS. */
-	ReadConsoleInputA (hInput, &dummy, 1, &dwRead);
-#else
 	ReadConsoleInput (hInput, &dummy, 1, &dwRead);
-#endif
 }
 
 VOID ConInFlush (VOID)
@@ -79,12 +74,7 @@
 
 	do
 	{
-#ifdef __REACTOS__
-		/* ReadConsoleInputW isn't implwmented within ROS. */
-		ReadConsoleInputA (hInput, lpBuffer, 1, &dwRead);
-#else
 		ReadConsoleInput (hInput, lpBuffer, 1, &dwRead);
-#endif
 		if ((lpBuffer->EventType == KEY_EVENT) &&
 			(lpBuffer->Event.KeyEvent.bKeyDown == TRUE))
 			break;
CVSspam 0.2.8