mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 15:22:21 +00:00
Update to build cmd separately.
svn path=/trunk/; revision=445
This commit is contained in:
parent
6a7adfd71f
commit
ffbc9d9c03
7 changed files with 30 additions and 43 deletions
|
@ -360,19 +360,14 @@ VOID ReadCommand (LPTSTR str, INT maxlen)
|
|||
break;
|
||||
|
||||
default:
|
||||
#ifdef __REACTOS__
|
||||
ch = ir.Event.KeyEvent.AsciiChar;
|
||||
if ((ch >= 32) && (charcount != (maxlen - 2)))
|
||||
{
|
||||
#else
|
||||
#ifdef _UNICODE
|
||||
ch = ir.Event.KeyEvent.uChar.UnicodeChar;
|
||||
if ((ch >= 32 && ch <= 255) && (charcount != (maxlen - 2)))
|
||||
#else
|
||||
ch = ir.Event.KeyEvent.uChar.AsciiChar;
|
||||
if (ch >= 32 && (charcount != (maxlen - 2)))
|
||||
#endif /* _UNICODE */
|
||||
if ((ch >= 32 && ch <= 255) && (charcount != (maxlen - 2)))
|
||||
{
|
||||
#endif /* __REACTOS__ */
|
||||
/* insert character into string... */
|
||||
if (bInsert && current != charcount)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue