13
0

fix type error when resetting all tempo lines

git-svn-id: svn://localhost/ardour2/branches/3.0@8351 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-12-28 20:35:54 +00:00
parent f42cc9af98
commit 50d9dfc717

View File

@ -41,9 +41,9 @@ TempoLines::tempo_map_changed()
_clean_left = DBL_MAX; _clean_left = DBL_MAX;
_clean_right = 0.0; _clean_right = 0.0;
size_t d = 1; double_t d = 1.0;
// TODO: Dirty/slow, but 'needed' for zoom :( // 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; Lines::iterator next = i;
++next; ++next;
i->second->property_x1() = - d; i->second->property_x1() = - d;