summaryrefslogtreecommitdiff
path: root/libs/ardour/tempo.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2017-02-27 04:12:13 +1100
committerRobin Gareus <robin@gareus.org>2017-02-27 20:16:10 +0100
commite41285668c44631abb75a909162a3c45e247dee1 (patch)
treece546575437fbc80de856f79c4f053f753b30086 /libs/ardour/tempo.cc
parentb3c68030f40bcfb5d3ad1fb537d0de58a32f0c9c (diff)
amend last commit (don't depend on 0.0)
Diffstat (limited to 'libs/ardour/tempo.cc')
-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 a45f6fb95e..3738992479 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -4510,7 +4510,7 @@ TempoMap::fix_legacy_end_session ()
}
if (prev_t) {
- if (prev_t->type() == TempoSection::Ramp) {
+ if (prev_t->type() != TempoSection::Constant) {
prev_t->set_end_note_types_per_minute (t->note_types_per_minute());
}
}