diff options
author | nick_m <mainsbridge@gmail.com> | 2017-02-27 04:22:45 +1100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-27 20:16:10 +0100 |
commit | bb8b229a1e6b80398a3d7b36c4bca2b6b9a11f1a (patch) | |
tree | 419aed48d2ea86349a248a3b21bc29884a9f2ce2 /gtk2_ardour/editor_markers.cc | |
parent | e41285668c44631abb75a909162a3c45e247dee1 (diff) |
fix tempo marker ramp to next.
Diffstat (limited to 'gtk2_ardour/editor_markers.cc')
-rw-r--r-- | gtk2_ardour/editor_markers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 38a84543ca..1b8183a6d8 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -1471,7 +1471,7 @@ Editor::ramp_to_next_tempo () TempoSection* tsp = &tm->tempo(); TempoSection* next_ts = tmap.next_tempo_section (&tm->tempo()); if (next_ts) { - const Tempo tempo (tsp->note_types_per_minute(), tsp->note_type(), next_ts->end_note_types_per_minute()); + const Tempo tempo (tsp->note_types_per_minute(), tsp->note_type(), next_ts->note_types_per_minute()); const double pulse = tsp->pulse(); const framepos_t frame = tsp->frame(); const PositionLockStyle pls = tsp->position_lock_style(); |