playlist partition_internal() uses exclusive end semantics
Do not pass "end-1" to it from Playlist::cut()
This commit is contained in:
parent
b27c804a7c
commit
d309ab31e8
@ -1285,7 +1285,7 @@ Playlist::cut (timepos_t const & start, timecnt_t const & cnt)
|
||||
|
||||
{
|
||||
RegionWriteLock rlock (this);
|
||||
partition_internal (start, (start+cnt).decrement(), true, rlock.thawlist);
|
||||
partition_internal (start, start+cnt, true, rlock.thawlist);
|
||||
}
|
||||
|
||||
return the_copy;
|
||||
|
Loading…
Reference in New Issue
Block a user