From 853904aa2637babfa64bdd22d2343965c2d010de Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 6 Sep 2011 23:26:02 +0000 Subject: [PATCH] Correct fix for previous commit. git-svn-id: svn://localhost/ardour2/branches/3.0@10058 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }