From 4907599222b04563b4a86bdf060187171eb9e674 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 3 Jan 2012 17:57:15 +0000 Subject: [PATCH] Undo goto:label code. breaks drive switching. Maybe change drive shouldn't be handled in shell:execute Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3774 --- src/shell/shell_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index 6f013ed7..1e42d103 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -127,7 +127,7 @@ void DOS_Shell::DoCommand(char * line) { if (*line == '/') break; if (*line == '\t') break; if (*line == '=') break; - if (*line == ':') break; +// if (*line == ':') break; //This breaks drive switching as that is handled at a later stage. if ((*line == '.') ||(*line == '\\')) { //allow stuff like cd.. and dir.exe cd\kees *cmd_write=0; Bit32u cmd_index=0;