fix (crashing) bug in smf code (variable name confusion)

This commit is contained in:
Paul Davis 2026-01-28 09:48:23 -07:00
parent c159f373cb
commit f9f74f3d8f

View file

@ -567,7 +567,7 @@ smf_track_add_eot_pulses(smf_track_t *track, size_t pulses)
for (i = 0; i < track->events_array->len; ++i) {
smf_event_t* ev = (smf_event_t*)g_ptr_array_index(track->events_array, i);
if (event->time_pulses != 0) {
if (ev->time_pulses != 0) {
all_zero = 0;
break;
}