summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-09-07 00:32:02 +1000
committernick_m <mainsbridge@gmail.com>2016-09-07 00:32:02 +1000
commitab21b241f73965b48b2a85aa391a4f741c3a6078 (patch)
treed9fe38acd5ff5a09b2f42936ad96b7fef60c55d0 /libs/ardour/session_state.cc
parentfb9f4636e7995b8d79b83101108a2d05a23684d7 (diff)
Fix incorrect estimate of future revision.
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
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;
}
}