and a few more.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3921
This commit is contained in:
parent
bb604c1d77
commit
db0a72cd4d
1 changed files with 2 additions and 2 deletions
|
@ -632,7 +632,7 @@ void CONFIG::Run(void) {
|
|||
if ((equpos != std::string::npos) &&
|
||||
((spcpos == std::string::npos) || (equpos < spcpos))) {
|
||||
// If we have a '=' possibly before a ' ' split on the =
|
||||
pvars.insert(++pvars.begin(),pvars[0].substr(equpos+1));
|
||||
pvars.insert(pvars.begin()+1,pvars[0].substr(equpos+1));
|
||||
pvars[0].erase(equpos);
|
||||
// As we had a = the first thing must be a property now
|
||||
Section* sec=control->GetSectionFromProperty(pvars[0].c_str());
|
||||
|
@ -646,7 +646,7 @@ void CONFIG::Run(void) {
|
|||
if ((spcpos != std::string::npos) &&
|
||||
((equpos == std::string::npos) || (spcpos < equpos))) {
|
||||
// ' ' before a possible '=', split on the ' '
|
||||
pvars.insert(++pvars.begin(),pvars[0].substr(spcpos+1));
|
||||
pvars.insert(pvars.begin()+1,pvars[0].substr(spcpos+1));
|
||||
pvars[0].erase(spcpos);
|
||||
}
|
||||
// check if the first parameter is a section or property
|
||||
|
|
Loading…
Add table
Reference in a new issue