projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b17c8d5
)
Fix unnecessary backups of session files.
author
Carl Hetherington
<carl@carlh.net>
Thu, 17 May 2012 14:42:46 +0000
(14:42 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Thu, 17 May 2012 14:42:46 +0000
(14:42 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12325
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index 2f67915ce535742431e8b63d94663d0079e6be0c..c21b492c8ff590729183adcea3927b3bc0a37fa3 100644
(file)
--- a/
libs/ardour/session_state.cc
+++ b/
libs/ardour/session_state.cc
@@
-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;