From 7d0b22333028ceb53724884a3cbc5db803acfa63 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 3 Nov 2023 15:05:02 -0600 Subject: [PATCH] region: end().decrement() IS nt_last(), so remove the explicit decrement call --- libs/ardour/region.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index 9ce65e117e..5548b09884 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -1001,7 +1001,7 @@ Region::cut_end (timepos_t const & new_endpoint) void Region::modify_front_unchecked (timepos_t const & npos, bool reset_fade) { - timepos_t last = end().decrement(); + timepos_t last = nt_last(); timepos_t source_zero; timepos_t new_position (npos);