From ab21b241f73965b48b2a85aa391a4f741c3a6078 Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 7 Sep 2016 00:32:02 +1000 Subject: Fix incorrect estimate of future revision. --- libs/ardour/session_state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 48048ba764..ed664f0dc8 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1009,7 +1009,7 @@ Session::load_state (string snapshot_name) const double modified_with_version = atof (modified_with.substr ( modified_with.find(" ", 0) + 1, string::npos).c_str()); const int modified_with_revision = atoi (modified_with.substr (modified_with.find("-", 0) + 1, string::npos).c_str()); - if (modified_with_version <= 5.3 && !(modified_with_version == 5.3 && modified_with_revision >= 42)) { + if (modified_with_version <= 5.3 && !(modified_with_version == 5.3 && modified_with_revision > 42)) { _midi_regions_use_bbt_beats = true; } } -- cgit v1.2.3