fix another mis-use of timepos_t::increment()

This commit is contained in:
Paul Davis 2022-10-28 14:34:59 -06:00
parent c58d052a8e
commit 31f78813e3

View File

@ -4345,7 +4345,7 @@ MarkerDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
s = min (s, e);
e = max (s, e);
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));
for (Locations::LocationList::iterator i = ll.begin(); i != ll.end(); ++i) {