commit for cleanup bug that affects both old and new sessions
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 4 Mar 2007 14:08:23 +0000 (14:08 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 4 Mar 2007 14:08:23 +0000 (14:08 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1550 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session_state.cc

index 69c47d2f08cbab40b204a31cd1ac15a35db142fb..c1794b32105637df200cbc57e3d428ac11a2602e 100644 (file)
@@ -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 */