From 2b320d51dd080909a0e305116f1396dd1356200b Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 9 Jun 2017 01:34:14 +1000 Subject: Fix reversed logic in legacy tempo secton detection --- libs/ardour/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index c04f6803fd..e676c274f4 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -206,7 +206,7 @@ TempoSection::TempoSection (const XMLNode& node, framecnt_t sample_rate) } TempoSection::Type old_type; - if (!node.get_property ("tempo-type", old_type)) { + if (node.get_property ("tempo-type", old_type)) { /* sessions with a tempo-type node contain no end-beats-per-minute. if the legacy node indicates a constant tempo, simply fill this in with the start tempo. otherwise we need the next neighbour to know what it will be. -- cgit v1.2.3