summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-03-04 14:08:23 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-03-04 14:08:23 +0000
commitbae644416f1702d9b9068cfdadc3bcd95418933d (patch)
tree130fd395492783eed4d9f7f57341be7bf681bc31 /libs/ardour/session_state.cc
parenta38e2aff788a61c15405100c3be444cf2f5767d2 (diff)
commit for cleanup bug that affects both old and new sessions
git-svn-id: svn://localhost/ardour2/trunk@1550 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 69c47d2f08..c1794b3210 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -2678,7 +2678,7 @@ Session::cleanup_sources (Session::cleanup_report& rep)
on whichever filesystem it was already on.
*/
- if (_path.find ("/sounds/")) {
+ if ((*x).find ("/sounds/") != string::npos) {
/* old school, go up 1 level */