mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Sylvain Petreolle: Partly fix unicode build of cmd (a typo)
svn path=/trunk/; revision=23842
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user