mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
fix another mis-use of timepos_t::increment()
This commit is contained in:
parent
c58d052a8e
commit
31f78813e3
1 changed files with 1 additions and 1 deletions
|
|
@ -4345,7 +4345,7 @@ MarkerDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
|
||||||
s = min (s, e);
|
s = min (s, e);
|
||||||
e = max (s, e);
|
e = max (s, e);
|
||||||
if (e < timepos_t::max (e.time_domain())) {
|
if (e < timepos_t::max (e.time_domain())) {
|
||||||
e.increment();
|
e = e.increment();
|
||||||
}
|
}
|
||||||
_editor->session()->locations()->find_all_between (s, e, ll, Location::Flags (0));
|
_editor->session()->locations()->find_all_between (s, e, ll, Location::Flags (0));
|
||||||
for (Locations::LocationList::iterator i = ll.begin(); i != ll.end(); ++i) {
|
for (Locations::LocationList::iterator i = ll.begin(); i != ll.end(); ++i) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue