mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 07:05:43 +01:00
syntactic tweak
This commit is contained in:
parent
9d5b6a78d5
commit
9c590c1ed1
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,7 @@ ControlList::editor_add_ordered (OrderedPoints const & points, bool with_guard)
|
|||
_events.insert (s, new ControlEvent (earliest, v));
|
||||
}
|
||||
}
|
||||
if (with_guard && distance > 0) {
|
||||
if (with_guard && !distance.is_zero()) {
|
||||
ControlEvent cp (latest, 0.0);
|
||||
double v = unlocked_eval (latest);
|
||||
iterator s = lower_bound (_events.begin (), _events.end (), &cp, time_comparator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue