update for HEAD-2003091401
[reactos.git] / subsys / system / cmd / cmdinput.c
index 4b5e08d..4e4ae61 100644 (file)
@@ -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... */