diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/seq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp index ff6196738a..b77ee579f2 100644 --- a/backends/midi/seq.cpp +++ b/backends/midi/seq.cpp @@ -148,7 +148,7 @@ void MidiDriver_SEQ::sysEx (byte *msg, uint16 length) { buf[position++] = 0xFF; buf[position++] = _device_num; buf[position++] = 0; - for (; length; --length) { + for (; length; --length, ++chr) { buf[position++] = SEQ_MIDIPUTC; buf[position++] = (unsigned char) *chr; buf[position++] = _device_num; |