mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user