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:
parent
129613c419
commit
54c993669a
4 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue