13
0

fix incorrect test for textual meta events in libsmf

This commit is contained in:
Paul Davis 2016-12-14 11:40:44 +00:00
parent 54ef5fadc2
commit ff6f8ca6c4

View File

@ -661,8 +661,9 @@ smf_event_is_textual(const smf_event_t *event)
return (0); return (0);
} }
if (event->midi_buffer[3] < 1 || event->midi_buffer[3] > 9) if (event->midi_buffer[1] < 1 || event->midi_buffer[1] > 7) {
return (0); return (0);
}
return (1); return (1);
} }