Update to build cmd separately.

svn path=/trunk/; revision=445
This commit is contained in:
Eric Kohl 1999-05-11 12:40:11 +00:00
parent 6a7adfd71f
commit ffbc9d9c03
7 changed files with 30 additions and 43 deletions

View file

@ -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)
{