Thx w3seek that pointout a bug in ConInString it should have been in
fristplase GetConsoleCP() instead for GetConsoleOutputCP
Modified: trunk/reactos/subsys/system/cmd/console.c
_____
Modified: trunk/reactos/subsys/system/cmd/console.c
--- trunk/reactos/subsys/system/cmd/console.c 2005-05-06 17:10:21 UTC
(rev 15052)
+++ trunk/reactos/subsys/system/cmd/console.c 2005-05-06 17:30:45 UTC
(rev 15053)
@@ -17,7 +17,6 @@
#define OUTPUT_BUFFER_SIZE 4096
-
VOID ConInDisable (VOID)
{
HANDLE hInput = GetStdHandle (STD_INPUT_HANDLE);
@@ -105,7 +104,7 @@
ReadFile (hFile, (PVOID)pBuf, dwLength, &dwRead, NULL);
#ifdef _UNICODE
- MultiByteToWideChar( GetConsoleOutputCP(), 0, pBuf, dwLength +
1, lpInput, dwLength + 1);
+ MultiByteToWideChar( GetConsoleCP(), 0, pBuf, dwLength + 1,
lpInput, dwLength + 1);
#endif
p = lpInput;
for (i = 0; i < dwRead; i++, p++)
Show replies by date