mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- Fixed the check for printable ascii characters.
svn path=/trunk/; revision=5828
This commit is contained in:
parent
9cb40ad0da
commit
26532ec2d6
1 changed files with 1 additions and 1 deletions
|
@ -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... */
|
||||
|
|
Loading…
Reference in a new issue