From 7c69076e9e04f7cbc26f162c8ec8c59296e36a8e Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Fri, 18 Oct 2002 08:45:50 +0000 Subject: [PATCH] Changed the environment functions, changed the shell "SET" command accodingly Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@326 --- src/shell/shell_cmds.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index 6d29ae58..1072988e 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -257,23 +257,22 @@ void DOS_Shell::CMD_COPY(char * args) { WriteOut(MSG_Get("SHELL_ILLEGAL_SWITCH"),rem); return; } - } void DOS_Shell::CMD_SET(char * args) { + std::string line; if (!*args) { /* No command line show all environment lines */ - Bit32u count=GetEnvCount(); - for (Bit32u a=0;a