1
0
Fork 0

Strip spaces properly. Fixes bug #480

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4100
This commit is contained in:
Peter Veenstra 2018-05-06 19:34:22 +00:00
parent 129613c419
commit 54c993669a
4 changed files with 9 additions and 9 deletions

View file

@ -177,7 +177,7 @@ public:
fullconf.erase(fullconf.find("delaysysex"));
LOG_MSG("MIDI: Using delayed SysEx processing");
}
std::remove(fullconf.begin(), fullconf.end(), ' ');
trim(fullconf);
const char * conf = fullconf.c_str();
midi.status=0x00;
midi.cmd_pos=0;