Don't strip trailing spaces from the command line

This way, stuff like "notepad abc.txt  " will correctly pass "abc.txt  " as the filename like Windows does.

See issue #1818 for more details.

svn path=/trunk/; revision=33487
This commit is contained in:
Colin Finck 2008-05-12 21:26:38 +00:00
parent 003e7d8a1b
commit 083c5dcbd2

View file

@ -1529,11 +1529,6 @@ ProcessInput (BOOL bFlag)
*cp = _T('\0');
/* strip trailing spaces */
while ((--cp >= commandline) && _istspace (*cp));
*(cp + 1) = _T('\0');
/* JPP 19980807 */
/* Echo batch file line */
if (bEchoThisLine)