mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix session version check to work with some very old sessions
This commit is contained in:
parent
041b729de7
commit
ea1a330f9a
1 changed files with 1 additions and 1 deletions
|
|
@ -846,7 +846,7 @@ Session::load_state (string snapshot_name)
|
|||
} else {
|
||||
if (prop->value().find ('.') != string::npos) {
|
||||
/* old school version format */
|
||||
if (prop->value()[0] == '2') {
|
||||
if (prop->value()[0] < '3') {
|
||||
Stateful::loading_state_version = 2000;
|
||||
} else {
|
||||
Stateful::loading_state_version = 3000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue