From 438ad2b437c18fc9153662eeadc62dc2c71eba2a Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 31 Jul 2002 12:26:04 +0000 Subject: [PATCH] cd.. now works and doesn't brake hwset.com anymore Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@108 --- 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 c3869213..164b4346 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -53,7 +53,7 @@ void DOS_Shell::DoCommand(char * line) { while (*line) { if (*line==32) break; if (*line=='/') break; - if (*line=='.') break; + if ((*line=='.') && (*(line+1)=='.')) break; *cmd_write++=*line++; } *cmd_write=0;