From c4cb8dbda9e7cbf97ced81e905a6b98ac3ad2678 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 26 Aug 2023 07:37:01 -0600 Subject: [PATCH] arithmetic simplification --- libs/temporal/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index fe6f1fc542..08e84f8d7c 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -890,7 +890,7 @@ TempoMap::cut_copy (timepos_t const & start, timepos_t const & end, bool copy, b Beats b (quarters_at (start)); if (!copy) { - mtp = new MusicTimePoint (*this, end_sclock - (end_sclock - start_sclock), b, bbt, em.tempo(), em.meter(), _("cut")); + mtp = new MusicTimePoint (*this, start_sclock, b, bbt, em.tempo(), em.meter(), _("cut")); } else { mtp = nullptr; }