From d855ad28564541270c0c8317594c4a47f7613bef Mon Sep 17 00:00:00 2001 From: nick_m Date: Sat, 7 Jan 2017 01:27:06 +1100 Subject: rename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0. --- gtk2_ardour/tempo_curve.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/tempo_curve.cc') diff --git a/gtk2_ardour/tempo_curve.cc b/gtk2_ardour/tempo_curve.cc index 61dbd2146b..75ea028933 100644 --- a/gtk2_ardour/tempo_curve.cc +++ b/gtk2_ardour/tempo_curve.cc @@ -120,7 +120,7 @@ TempoCurve::set_position (framepos_t frame, framepos_t end_frame) points->push_back (ArdourCanvas::Duple (0.0, y_pos)); points->push_back (ArdourCanvas::Duple (1.0, y_pos)); - } else if (_tempo.type() == ARDOUR::TempoSection::Constant || _tempo.c_func() == 0.0) { + } else if (_tempo.type() == ARDOUR::TempoSection::Constant || _tempo.c() == 0.0) { const double tempo_at = _tempo.note_types_per_minute(); const double y_pos = (curve_height) - (((tempo_at - _min_tempo) / (_max_tempo - _min_tempo)) * curve_height); -- cgit v1.2.3