diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 2c44508b12..2413126e3a 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -7215,7 +7215,7 @@ Editor::remove_time (framepos_t pos, framecnt_t frames, InsertTimeOption opt, if (tempo_too) { XMLNode& before (_session->tempo_map().get_state()); - if (_session->tempo_map().cut_time (pos, frames) ) { + if (_session->tempo_map().remove_time (pos, frames) ) { XMLNode& after (_session->tempo_map().get_state()); _session->add_command (new MementoCommand(_session->tempo_map(), &before, &after)); commit = true; diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 24a3f53fe9..d5ae2959c6 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -323,7 +323,7 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible void change_initial_tempo (double bpm, double note_type); void insert_time (framepos_t, framecnt_t); - bool cut_time (framepos_t where, framecnt_t amount); //returns true if anything was moved + bool remove_time (framepos_t where, framecnt_t amount); //returns true if anything was moved int n_tempos () const; int n_meters () const; diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 244c050834..c7e46ba327 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -1903,7 +1903,7 @@ TempoMap::insert_time (framepos_t where, framecnt_t amount) PropertyChanged (PropertyChange ()); } bool -TempoMap::cut_time (framepos_t where, framecnt_t amount) +TempoMap::remove_time (framepos_t where, framecnt_t amount) { bool moved = false;