X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=subsys%2Fsystem%2Fcmd%2Fcmdinput.c;fp=subsys%2Fsystem%2Fcmd%2Fcmdinput.c;h=4e4ae6112736e138df658ef49b1ce66b184eee83;hp=4b5e08d5297c4f70efa14fdbdbcd5e71bfedb0f2;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/subsys/system/cmd/cmdinput.c b/subsys/system/cmd/cmdinput.c index 4b5e08d..4e4ae61 100644 --- a/subsys/system/cmd/cmdinput.c +++ b/subsys/system/cmd/cmdinput.c @@ -221,7 +221,7 @@ VOID ReadCommand (LPTSTR str, INT maxlen) str[current - 1] = _T('\0'); if (GetCursorX () != 0) { - ConOutPrintf ("\b \b"); + ConOutPrintf (_T("\b \b")); } else { @@ -471,7 +471,7 @@ VOID ReadCommand (LPTSTR str, INT maxlen) if ((ch >= 32 && ch <= 255) && (charcount != (maxlen - 2))) #else ch = ir.Event.KeyEvent.uChar.AsciiChar; - if (ch >= 32 && (charcount != (maxlen - 2))) + if ((UCHAR)ch >= 32 && (charcount != (maxlen - 2))) #endif /* _UNICODE */ { /* insert character into string... */