Commit in reactos/lib/kernel32/misc on MAIN
console.c+2-21.84 -> 1.85
IntReadConsole: in case of unicode read, not all chars were copied
W2k cmd.exe now works for me

reactos/lib/kernel32/misc
console.c 1.84 -> 1.85
diff -u -r1.84 -r1.85
--- console.c	17 Dec 2004 00:44:46 -0000	1.84
+++ console.c	18 Dec 2004 00:28:16 -0000	1.85
@@ -1,4 +1,4 @@
-/* $Id: console.c,v 1.84 2004/12/17 00:44:46 gdalsnes Exp $
+/* $Id: console.c,v 1.85 2004/12/18 00:28:16 gdalsnes Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -1271,7 +1271,7 @@
     nNumberOfCharsToRead -= Reply->Data.ReadConsoleReply.NrCharactersRead;
     memcpy((PVOID)((ULONG_PTR)lpBuffer + (ULONG_PTR)(CharsRead * CharSize)),
            Reply->Data.ReadConsoleReply.Buffer,
-           Reply->Data.ReadConsoleReply.NrCharactersRead);
+           Reply->Data.ReadConsoleReply.NrCharactersRead * CharSize);
     CharsRead += Reply->Data.ReadConsoleReply.NrCharactersRead;
     
     if(Reply->Status == STATUS_NOTIFY_CLEANUP)
CVSspam 0.2.8