mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue