Fix location ripple when cutting locations

This commit is contained in:
Robin Gareus 2023-08-25 04:01:16 +02:00
parent f38a984396
commit 70a4f29c59
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1794,7 +1794,7 @@ Locations::cut_copy_section (timepos_t const& start, timepos_t const& end, timep
* the whole cut/paste operation is earlier, in which case this mark
* is not affected.
*/
if (i->start () <= to + start.distance(end)) {
if (i->start () < to + start.distance(end)) {
distance = end.distance(start);
}
}