Fix find_next_event return value in case no music-time event is found
This commit is contained in:
parent
0c3791117c
commit
7f2637fa96
@ -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…
Reference in New Issue
Block a user