don't skip whitespace in echo command. patch by irc:ravelo. bug #1042.

svn path=/trunk/; revision=19412
This commit is contained in:
Brandon Turner
2005-11-21 18:10:55 +00:00
parent 34baac2c5c
commit 90f9ace5cf
+5 -2
View File
@@ -597,9 +597,12 @@ DoCommand (LPTSTR line)
}
*/
/* Skip over whitespace to rest of line */
while (_istspace (*rest))
/* Skip over whitespace to rest of line, exclude 'echo' command */
if (_tcsicmp (com, _T("echo")))
{
while (_istspace (*rest))
rest++;
}
/* Scan internal command table */
for (cmdptr = cmds;; cmdptr++)