From ef198afd7cfc096e66fd99b5bcc9efa262bc08a3 Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Sat, 31 May 2003 22:16:25 +0000 Subject: Possible fix for -eseq SysEx svn-id: r8196 --- backends/midi/seq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3