From 1786adb90bc9de21a56a1622159f40639bc26eda Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 24 Sep 2003 19:36:14 +0000 Subject: [PATCH] Allowed tab as breaking character in a commandline Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1266 --- src/shell/shell_cmds.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index d6da2bb6..a4badc92 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: shell_cmds.cpp,v 1.27 2003-09-08 18:21:19 qbix79 Exp $ */ +/* $Id: shell_cmds.cpp,v 1.28 2003-09-24 19:36:14 qbix79 Exp $ */ #include @@ -60,6 +60,7 @@ void DOS_Shell::DoCommand(char * line) { while (*line) { if (*line==32) break; if (*line=='/') break; + if (*line=='\t') break; if ((*line=='.') ||(*line =='\\')) { //allow stuff like cd.. and dir.exe cd\kees *cmd_write=0; Bit32u cmd_index=0;