mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
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:
parent
003e7d8a1b
commit
083c5dcbd2
1 changed files with 0 additions and 5 deletions
|
@ -1529,11 +1529,6 @@ ProcessInput (BOOL bFlag)
|
||||||
|
|
||||||
*cp = _T('\0');
|
*cp = _T('\0');
|
||||||
|
|
||||||
/* strip trailing spaces */
|
|
||||||
while ((--cp >= commandline) && _istspace (*cp));
|
|
||||||
|
|
||||||
*(cp + 1) = _T('\0');
|
|
||||||
|
|
||||||
/* JPP 19980807 */
|
/* JPP 19980807 */
|
||||||
/* Echo batch file line */
|
/* Echo batch file line */
|
||||||
if (bEchoThisLine)
|
if (bEchoThisLine)
|
||||||
|
|
Loading…
Reference in a new issue