Fixed %% parsing.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3014
This commit is contained in:
parent
4b7f38105f
commit
e9e734d8d8
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: shell_batch.cpp,v 1.24 2007-06-13 07:22:17 qbix79 Exp $ */
|
||||
/* $Id: shell_batch.cpp,v 1.25 2007-10-09 18:15:42 qbix79 Exp $ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -77,6 +77,7 @@ emptyline:
|
|||
if (cmd_read[0] == '%') {
|
||||
cmd_read++;
|
||||
*cmd_write++='%';
|
||||
continue;
|
||||
}
|
||||
if (cmd_read[0] == '0') { /* Handle %0 */
|
||||
const char *file_name = cmd->GetFileName();
|
||||
|
|
Loading…
Add table
Reference in a new issue