Fix unnecessary backups of session files.
git-svn-id: svn://localhost/ardour2/branches/3.0@12325 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b17c8d5826
commit
433b6651ee
@ -925,7 +925,7 @@ Session::load_state (string snapshot_name)
|
||||
/* no version implies very old version of Ardour */
|
||||
Stateful::loading_state_version = 1000;
|
||||
} else {
|
||||
if (prop->value().find ('.')) {
|
||||
if (prop->value().find ('.') != string::npos) {
|
||||
/* old school version format */
|
||||
if (prop->value()[0] == '2') {
|
||||
Stateful::loading_state_version = 2000;
|
||||
|
Loading…
Reference in New Issue
Block a user