From 7d66ae59d37a116d531e04e4a4bd82dc02d3064e Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 5 Apr 2016 03:24:06 +1000 Subject: [PATCH] Tempo ramps - remove odd check. --- libs/ardour/tempo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 0e2d895fd0..0c044f968a 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -97,7 +97,7 @@ TempoSection::TempoSection (const XMLNode& node) } if ((prop = node.property ("pulse")) != 0) { - if (sscanf (prop->value().c_str(), "%lf", &pulse) != 1 || pulse < 0.0) { + if (sscanf (prop->value().c_str(), "%lf", &pulse) != 1) { error << _("TempoSection XML node has an illegal \"pulse\" value") << endmsg; } } @@ -458,7 +458,7 @@ MeterSection::MeterSection (const XMLNode& node) } if ((prop = node.property ("pulse")) != 0) { - if (sscanf (prop->value().c_str(), "%lf", &pulse) != 1 || pulse < 0.0) { + if (sscanf (prop->value().c_str(), "%lf", &pulse) != 1) { error << _("MeterSection XML node has an illegal \"pulse\" value") << endmsg; } }