13
0

braces please

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

View File

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