diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-15 14:41:38 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-15 14:41:38 +0000 |
commit | 5565078136e72c6c098fc4b4b688f6c1af58d069 (patch) | |
tree | db7aa276be3e7b08480eda6bc1e1e5aee40c8af4 /libs/ardour/import.cc | |
parent | 1d1de9b669a141954a252a1d0173ddc6348cba9c (diff) |
remove a bunch of explicit uses of '/' as a directory separator; use Glib::build_filename() to construct more paths rather than doing it "by hand"; fixup small logic mistake (which had no actual consequences) in export track marker dialog
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6909 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/import.cc')
-rw-r--r-- | libs/ardour/import.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/import.cc b/libs/ardour/import.cc index 496c43fca2..08e0c537c4 100644 --- a/libs/ardour/import.cc +++ b/libs/ardour/import.cc @@ -153,9 +153,8 @@ get_paths_for_new_sources (const bool allow_replacing, const string& import_file std::string filepath; - filepath = session_dir; - filepath += '/'; - filepath += get_non_existent_filename (allow_replacing, session_dir, basename, n, channels); + filepath = Glib::build_filename (session_dir, + get_non_existent_filename (allow_replacing, session_dir, basename, n, channels)); new_paths.push_back (filepath); } |