diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-06-07 03:24:18 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-06-07 03:24:18 +0000 |
commit | 131366d046c932d25039932558d7514c89c0030c (patch) | |
tree | a0467b210b820643f62fe7e973ac6eedca25912c /libs | |
parent | 91f6efcbe94434af04b88f5daaa72f53c7626667 (diff) |
Use SessionDirectory instead of Session::sound_dir in Session::cleanup_sources
git-svn-id: svn://localhost/ardour2/trunk@1970 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_state.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 2eb14fc1da..fdb5f92ede 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -2703,8 +2703,8 @@ Session::cleanup_sources (Session::cleanup_report& rep) nexti = i; ++nexti; - sound_path += (*i).path; - sound_path += sound_dir (false); + SessionDirectory sdir ((*i).path); + sound_path += sdir.sound_path().to_string(); if (nexti != session_dirs.end()) { sound_path += ':'; |