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
This commit is contained in:
parent
d155f32039
commit
2eb8f28312
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user