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:
parent
c85116940e
commit
c493a07791
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue