summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-03 19:03:13 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-03 19:03:13 +0000
commitbc003a539bd03257504188f6ab8daa85a5e168cc (patch)
tree26f19991066b543cf627db2068b491fa016ce30e /gtk2_ardour/tempo_lines.cc
parent2a200bdc0ead3d2a2a0481db44b0bc080529aa69 (diff)
save 4 bytes per Bar|Beat point in the tempo map
git-svn-id: svn://localhost/ardour2/branches/3.0@11147 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 1ee73c7280..9d590780ce 100644
--- a/gtk2_ardour/tempo_lines.cc
+++ b/gtk2_ardour/tempo_lines.cc
@@ -133,7 +133,7 @@ TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin,
for (i = begin; i != end; ++i) {
- if ((*i).type == ARDOUR::TempoMap::Bar) {
+ if ((*i).beat == 1) {
color = ARDOUR_UI::config()->canvasvar_MeasureLineBar.get();
} else {
if (beat_density > 2.0) {