Sylvain Petreolle: Partly fix unicode build of cmd (a typo)

svn path=/trunk/; revision=23842
This commit is contained in:
Aleksey Bragin 2006-08-31 14:14:42 +00:00
parent 02d5b53e84
commit 5cd8b68023

View file

@ -521,7 +521,7 @@ VOID ReadCommand (LPTSTR str, INT maxlen)
}
#ifdef _UNICODE
ch = ir.Event.KeyEvent.uChar.UnicodeChar;
if ((ch >= 32 && (charcount != (maxlen - 2)) && bCharInput)
if (ch >= 32 && (charcount != (maxlen - 2)) && bCharInput)
#else
ch = ir.Event.KeyEvent.uChar.AsciiChar;
if ((UCHAR)ch >= 32 && (charcount != (maxlen - 2)) && bCharInput)