1
0
Fork 0

Reenable the setting of the %CONFIG% variable when doing a CONFIG -get command (reported in forum)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3842
This commit is contained in:
Peter Veenstra 2013-11-05 22:12:59 +00:00
parent babf6195f5
commit 2a8cf58b99

View file

@ -575,6 +575,7 @@ void CONFIG::Run(void) {
// it's a property name
std::string val = sec->GetPropValue(pvars[0].c_str());
WriteOut("%s",val.c_str());
first_shell->SetEnv("CONFIG",val.c_str());
}
break;
}
@ -592,6 +593,7 @@ void CONFIG::Run(void) {
return;
}
WriteOut("%s",val.c_str());
first_shell->SetEnv("CONFIG",val.c_str());
break;
}
default: