mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-29 08:23:01 +01:00
fix (crashing) bug in smf code (variable name confusion)
This commit is contained in:
parent
c159f373cb
commit
f9f74f3d8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue