summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-06 23:26:02 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-06 23:26:02 +0000
commit853904aa2637babfa64bdd22d2343965c2d010de (patch)
tree042b3a1d2171112602174b2334d61068278163fd
parente095a93f98cd6cfb0f56b5efe1c243de48358000 (diff)
Correct fix for previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10058 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/tempo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index 78ee5a9ab7..579b523fa0 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -1672,7 +1672,7 @@ void
TempoMap::insert_time (framepos_t where, framecnt_t amount)
{
for (Metrics::iterator i = metrics->begin(); i != metrics->end(); ++i) {
- if ((*i)->frame() >= where && (*i)->frame() != 0) {
+ if ((*i)->frame() >= where && (*i)->movable ()) {
(*i)->set_frame ((*i)->frame() + amount);
}
}