From c493a077913b3729873fab8ff9989fa109d00613 Mon Sep 17 00:00:00 2001 From: Ralf Grillenberger Date: Wed, 10 Nov 2010 13:19:44 +0000 Subject: [PATCH] Make the shortcut to set values of properties from the command line work again (regressed in the previous config-related patch) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3660 --- 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 8a0a9c08..01cbec94 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -108,7 +108,7 @@ bool DOS_Shell::CheckConfig(char* cmd_in,char*line) { if(val != NO_SUCH_PROPERTY) WriteOut("%s\n",val.c_str()); return true; } - char newcom[1024]; newcom[0] = 0; strcpy(newcom,"z:\\config "); + char newcom[1024]; newcom[0] = 0; strcpy(newcom,"z:\\config -set "); strcat(newcom,test->GetName()); strcat(newcom," "); strcat(newcom,cmd_in);strcat(newcom,line); DoCommand(newcom);