diff options
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r-- | gtk2_ardour/tempo_lines.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 3c24ee0501..bb86011458 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -99,7 +99,7 @@ TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin, i = end; i--; - bars = (*i).bar - (*begin).bar; + bars = (*i).bar - (*begin).bar; beats = distance (begin, end) - bars; beat_density = (beats * 10.0f) / lines.canvas()->width(); |