fix tempo marker ramp to next.
authornick_m <mainsbridge@gmail.com>
Sun, 26 Feb 2017 17:22:45 +0000 (04:22 +1100)
committerRobin Gareus <robin@gareus.org>
Mon, 27 Feb 2017 19:16:10 +0000 (20:16 +0100)
gtk2_ardour/editor_markers.cc

index 38a84543ca4025162b1c7f100585fa3ddc0349aa..1b8183a6d8464a6ab3534dbd32ce8b6d5e0c0abe 100644 (file)
@@ -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();