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
This commit is contained in:
Paul Davis 2022-02-11 08:46:49 -07:00
parent 2bf8b7ce11
commit 3553d56f05

View File

@ -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;
}