1
0
Fork 0

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
This commit is contained in:
Ralf Grillenberger 2010-11-10 13:19:44 +00:00
parent c85116940e
commit c493a07791

View file

@ -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);