fix timeline arithmetic operations

This commit is contained in:
Paul Davis
2021-07-03 18:57:41 -06:00
parent 12fb9608d9
commit 0e264ad2db

View File

@@ -1235,7 +1235,7 @@ Playlist::cut (timepos_t const & start, timecnt_t const & cnt, bool result_is_hi
{
RegionWriteLock rlock (this);
partition_internal (start, start + cnt - 1, true, rlock.thawlist);
partition_internal (start, (start+cnt).decrement(), true, rlock.thawlist);
}
return the_copy;