- Batch: In a line generated by a 'for', add the \n that the parser expects. (Bug 3717)

- cmd_for: Don't leave raw_params uninitialized; could cause a crash in ExitBatch.

svn path=/trunk/; revision=36061
This commit is contained in:
Jeffrey Morlan 2008-09-08 16:23:33 +00:00
parent 81fd8772b6
commit 8d7388ee07
2 changed files with 2 additions and 0 deletions

View file

@ -421,6 +421,7 @@ LPTSTR ReadBatchLine ()
}
}
*dp++ = _T('\n');
*dp = _T('\0');
return textline;