From e9e734d8d8983465554251d6ab27efb163460be4 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 9 Oct 2007 18:15:42 +0000 Subject: [PATCH] Fixed %% parsing. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3014 --- src/shell/shell_batch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell/shell_batch.cpp b/src/shell/shell_batch.cpp index 3cc3341a..53987c9e 100644 --- a/src/shell/shell_batch.cpp +++ b/src/shell/shell_batch.cpp @@ -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 #include @@ -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();