From 9ff171d2b878bc0759454a39a5fd889b5e8040d3 Mon Sep 17 00:00:00 2001 From: GZharun Date: Wed, 28 Jan 2015 18:19:00 +0200 Subject: [PATCH] [Summary] Fixed bug : 45119. Split makes 2 operations when using Select + Split key command [Deatils] Fixed up region partitioning when slicing a range inside a region. Defect description is completely wrong. Region partitioning was not correct but NOT "split makes 2 operations". [Reviewed by QA] MKosharniy --- libs/ardour/playlist.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 87cc481108..546d275c2f 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -1018,7 +1018,7 @@ Playlist::flush_notifications (bool from_undo) current->suspend_property_changes (); thawlist.push_back (current); - current->cut_end (pos2 - 1); + current->cut_end (pos2); } else if (overlap == Evoral::OverlapEnd) { @@ -1058,7 +1058,7 @@ Playlist::flush_notifications (bool from_undo) current->suspend_property_changes (); thawlist.push_back (current); - current->cut_end (pos2 - 1); + current->cut_end (pos2); } else if (overlap == Evoral::OverlapStart) {