diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 6102f37b51..69110df7d3 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -5266,8 +5266,11 @@ Editor::duplicate_some_regions (RegionSelection& regions, float times) latest_regionviews.clear (); sigc::connection c = rtv->view()->RegionViewAdded.connect (sigc::mem_fun(*this, &Editor::collect_new_region_view)); - timepos_t position = end_time + (start_time.distance (r->position())); - position.increment (); + /* end time is an inclusive end; we need to place the + * duplicated region after that. + */ + + timepos_t position = end_time.increment(); playlist = (*i)->region()->playlist();