summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_lines.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-21 16:56:58 +0000
committerDavid Robillard <d@drobilla.net>2009-10-21 16:56:58 +0000
commit046f8026628a52adeb6983948e39b2665f4c0b49 (patch)
tree49521c46b6de350b397155227d2daf8423a4c2a3 /gtk2_ardour/tempo_lines.cc
parent86a09c58e3e0e66b1e3525680327545f2b5372c6 (diff)
Fix unnecessarily type specific code, tidy, fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@5844 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r--gtk2_ardour/tempo_lines.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc
index e9bd4bbc49..aa8b48fc2b 100644
--- a/gtk2_ardour/tempo_lines.cc
+++ b/gtk2_ardour/tempo_lines.cc
@@ -46,8 +46,8 @@ TempoLines::tempo_map_changed()
for (Lines::iterator i = _lines.begin(); i != _lines.end(); ++d) {
Lines::iterator next = i;
++next;
- i->second->property_x1() = - d;
- i->second->property_x2() = - d;
+ i->second->property_x1() = - d;
+ i->second->property_x2() = - d;
_lines.erase(i);
_lines.insert(make_pair(- d, i->second));
i = next;
@@ -58,7 +58,7 @@ void
TempoLines::show ()
{
for (Lines::iterator i = _lines.begin(); i != _lines.end(); ++i) {
- i->second->show();
+ i->second->show();
}
}
@@ -66,7 +66,7 @@ void
TempoLines::hide ()
{
for (Lines::iterator i = _lines.begin(); i != _lines.end(); ++i) {
- i->second->hide();
+ i->second->hide();
}
}