diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-11 02:46:16 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-07-11 02:46:16 +0300 |
commit | 683d948e0c45b3b3026d00afbcf9a49e7e89d8ea (patch) | |
tree | 7fe0763d4a33dae036aecc9a53faf9ff640aec10 /src/midi_sequencer_impl.hpp | |
parent | 64cf77dd2e516af0f1b47285a39f5031e3cee86f (diff) | |
download | libADLMIDI-683d948e0c45b3b3026d00afbcf9a49e7e89d8ea.tar.gz libADLMIDI-683d948e0c45b3b3026d00afbcf9a49e7e89d8ea.tar.bz2 libADLMIDI-683d948e0c45b3b3026d00afbcf9a49e7e89d8ea.zip |
Fixed Watcom build
Diffstat (limited to 'src/midi_sequencer_impl.hpp')
-rw-r--r-- | src/midi_sequencer_impl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/midi_sequencer_impl.hpp b/src/midi_sequencer_impl.hpp index 7a6e30b..4d5217a 100644 --- a/src/midi_sequencer_impl.hpp +++ b/src/midi_sequencer_impl.hpp @@ -1248,7 +1248,7 @@ BW_MidiSequencer::MidiEvent BW_MidiSequencer::parseEvent(const uint8_t **pptr, c return evt; } - if(!data.compare(0, 10, "loopstart=")) + if(data.substr(0, 10) == "loopstart=") { evt.type = MidiEvent::T_SPECIAL; evt.subtype = MidiEvent::ST_LOOPSTACK_BEGIN; @@ -1269,7 +1269,7 @@ BW_MidiSequencer::MidiEvent BW_MidiSequencer::parseEvent(const uint8_t **pptr, c return evt; } - if(!data.compare(0, 8, "loopend=")) + if(data.substr(0, 8) == "loopend=") { evt.type = MidiEvent::T_SPECIAL; evt.subtype = MidiEvent::ST_LOOPSTACK_END; |