summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-03-22 00:40:23 +1100
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:12 +1000
commit7d06651a5c6e9b11e2739b8ca1b45f196777b193 (patch)
treed6c31f57634a27269f5b9e4a7aaf3f3763b522ec /gtk2_ardour/tempo_lines.cc
parent1c1bf4a06bd4e2f4ce68633d7e5fc2195cdadf5d (diff)
Tempo ramps - fix compilation
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r--gtk2_ardour/tempo_lines.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc
index c320486108..11d1738944 100644
--- a/gtk2_ardour/tempo_lines.cc
+++ b/gtk2_ardour/tempo_lines.cc
@@ -59,7 +59,7 @@ TempoLines::draw_ticks (std::vector<ARDOUR::TempoMap::BBTPoint>& grid,
framecnt_t leftmost_frame,
framecnt_t frame_rate)
{
- const double fpb = grid.begin()->tempo->frames_per_beat(frame_rate);
+ const double fpb = grid.begin()->tempo.frames_per_beat(frame_rate);
const uint32_t base = UIConfiguration::instance().color_mod("measure line beat", "measure line beat");
for (unsigned l = 1; l < divisions; ++l) {