From 3553d56f057ba00b14f5991df199e3219f7aa480 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 11 Feb 2022 08:46:49 -0700 Subject: [PATCH] tempo map: fix loading 6000-version or earlier tempo maps Probably a copy-n-paste error meant the reversed logic was used to decide if we had found an inital tempo and meter --- libs/temporal/tempo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/temporal/tempo.cc b/libs/temporal/tempo.cc index 01114b5a5f..cb4d3e718b 100644 --- a/libs/temporal/tempo.cc +++ b/libs/temporal/tempo.cc @@ -3488,7 +3488,7 @@ TempoMap::set_state_3x (const XMLNode& node) } } - if (initial_tempo_index >= 0 && initial_meter_index >= 0) { + if (initial_tempo_index < 0 || initial_meter_index < 0) { error << _("Old tempo map information is missing either tempo or meter information - ignored") << endmsg; return -1; }