1
0
Fork 0

some stl implementations fake the interators...

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3920
This commit is contained in:
Peter Veenstra 2015-07-04 18:24:54 +00:00
parent a26c21df35
commit bb604c1d77

View file

@ -538,7 +538,7 @@ void CONFIG::Run(void) {
std::string::size_type spcpos = pvars[0].find_first_of(' ');
// split on the ' '
if (spcpos != std::string::npos) {
pvars.insert(++pvars.begin(),pvars[0].substr(spcpos+1));
pvars.insert(pvars.begin()+1,pvars[0].substr(spcpos+1));
pvars[0].erase(spcpos);
}
switch(pvars.size()) {