forward-port from 2.X commits 5827-6000 including
[ardour.git] / libs / ardour / playlist.cc
index 676d4a820a9281f80931d9034eafb47d722a5c3f..57f49a68d5af382af5963fbf51b91218cbddaf22 100644 (file)
@@ -1004,7 +1004,7 @@ Playlist::partition_internal (framepos_t start, framepos_t end, bool cutting, Re
 
                                current->suspend_property_changes ();
                                thawlist.push_back (current);
-                               current->trim_end (pos2, this);
+                               current->cut_end (pos2, this);
 
                        } else if (overlap == OverlapEnd) {
 
@@ -1043,7 +1043,7 @@ Playlist::partition_internal (framepos_t start, framepos_t end, bool cutting, Re
 
                                current->suspend_property_changes ();
                                thawlist.push_back (current);
-                               current->trim_end (pos2, this);
+                               current->cut_end (pos2, this);
 
                        } else if (overlap == OverlapStart) {