From 2eb8f28312ab6c29636d4cfb39dbbac4372d9295 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 11 Mar 2011 03:40:42 +0000 Subject: [PATCH] make "Flush Wastebasket" operate on the correct directory rather than a non-existent one git-svn-id: svn://localhost/ardour2/branches/3.0@9122 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session_state.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 1d54d31c3c..cdf6408e8f 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -2883,8 +2883,7 @@ Session::cleanup_trash_sources (CleanupReport& rep) for (i = session_dirs.begin(); i != session_dirs.end(); ++i) { - dead_dir = (*i).path; - dead_dir += dead_dir_name; + dead_dir = Glib::build_filename ((*i).path, dead_dir_name); clear_directory (dead_dir, &rep.space, &rep.paths); }