mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -1285,7 +1285,7 @@ Playlist::cut (timepos_t const & start, timecnt_t const & cnt)
|
||||||
|
|
||||||
{
|
{
|
||||||
RegionWriteLock rlock (this);
|
RegionWriteLock rlock (this);
|
||||||
partition_internal (start, (start+cnt).decrement(), true, rlock.thawlist);
|
partition_internal (start, start+cnt, true, rlock.thawlist);
|
||||||
}
|
}
|
||||||
|
|
||||||
return the_copy;
|
return the_copy;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue