From bae644416f1702d9b9068cfdadc3bcd95418933d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 4 Mar 2007 14:08:23 +0000 Subject: [PATCH] commit for cleanup bug that affects both old and new sessions git-svn-id: svn://localhost/ardour2/trunk@1550 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_state.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */