diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-28 20:35:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-28 20:35:54 +0000 |
commit | 50d9dfc7175afc468b24b9569e3e0e06e59dc4ef (patch) | |
tree | 5cdac25579c63a849691cf6fa501e86315f00f73 | |
parent | f42cc9af989825342ee6943ce5d9645c5ea59644 (diff) |
fix type error when resetting all tempo lines
git-svn-id: svn://localhost/ardour2/branches/3.0@8351 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/tempo_lines.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 3fafe9bcd8..8fe877a27c 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -41,9 +41,9 @@ TempoLines::tempo_map_changed() _clean_left = DBL_MAX; _clean_right = 0.0; - size_t d = 1; + double_t d = 1.0; // TODO: Dirty/slow, but 'needed' for zoom :( - for (Lines::iterator i = _lines.begin(); i != _lines.end(); ++d) { + for (Lines::iterator i = _lines.begin(); i != _lines.end(); d += 1.0) { Lines::iterator next = i; ++next; i->second->property_x1() = - d; |