mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Sylvain Petreolle: Partly fix unicode build of cmd (a typo)
svn path=/trunk/; revision=23842
This commit is contained in:
parent
02d5b53e84
commit
5cd8b68023
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue