diff options
author | nick_m <mainsbridge@gmail.com> | 2017-01-07 01:27:06 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-01-07 01:27:06 +1100 |
commit | d855ad28564541270c0c8317594c4a47f7613bef (patch) | |
tree | 83d58ec635cf77ff3c4a239cd2acb6b8be720979 /gtk2_ardour/tempo_curve.cc | |
parent | 4cb00905838ba6ae35317876ae8601a4076745ed (diff) |
rename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0.
Diffstat (limited to 'gtk2_ardour/tempo_curve.cc')
-rw-r--r-- | gtk2_ardour/tempo_curve.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |