aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--midifile/midifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/midifile/midifile.c b/midifile/midifile.c
index e25afde..c36e80a 100644
--- a/midifile/midifile.c
+++ b/midifile/midifile.c
@@ -460,7 +460,7 @@ static void midifile_list(t_midifile *x, t_symbol *s, int argc, t_atom *argv)
written = midifile_write_variable_length_value(x->tmpFP, x->track_chunk[0].delta_time);
dt_written = 1;
}
- if (j == x->track_chunk[0].running_status) break;/* don't save redundant status byte */
+ if (j == x->track_chunk[0].running_status) continue;/* don't save redundant status byte */
if (j >= 0x80 && j <= 0xEF)x->track_chunk[0].running_status = j;/* new running status */
else if (j >= 0xF0 && j <= 0xF7)
{