mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:03:25 +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)))
|
if ((ch >= 32 && ch <= 255) && (charcount != (maxlen - 2)))
|
||||||
#else
|
#else
|
||||||
ch = ir.Event.KeyEvent.uChar.AsciiChar;
|
ch = ir.Event.KeyEvent.uChar.AsciiChar;
|
||||||
if (ch >= 32 && (charcount != (maxlen - 2)))
|
if ((UCHAR)ch >= 32 && (charcount != (maxlen - 2)))
|
||||||
#endif /* _UNICODE */
|
#endif /* _UNICODE */
|
||||||
{
|
{
|
||||||
/* insert character into string... */
|
/* insert character into string... */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue