mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Fix find_next_event return value in case no music-time event is found
This commit is contained in:
parent
0c3791117c
commit
7f2637fa96
1 changed files with 1 additions and 1 deletions
|
|
@ -688,7 +688,7 @@ Automatable::find_next_event (timepos_t const & start, timepos_t const & end, Ev
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return next_event.when != (start <= end ? timepos_t::max (start.time_domain()) : timepos_t (start.time_domain()));
|
return next_event.when != (start <= end ? timepos_t::max (next_event.when.time_domain ()) : timepos_t (next_event.when.time_domain ()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue