13
0

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:
Carl Hetherington 2012-05-17 14:42:46 +00:00
parent b17c8d5826
commit 433b6651ee

View File

@ -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;