region: end().decrement() IS nt_last(), so remove the explicit decrement call

This commit is contained in:
Paul Davis 2023-11-03 15:05:02 -06:00
parent 1b76e90246
commit 7d0b223330

View File

@ -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);