summaryrefslogtreecommitdiff
path: root/libs/ardour/import.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-08-17 13:10:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-08-17 13:10:42 +0000
commita5e74a774c6e1b39672392e26ee48385c4ac0034 (patch)
treeadabcf01a62a93c8d09f81daf91935b1e0a3c5cb /libs/ardour/import.cc
parent6ad57df62b5edaaa09fcc604358861ce82e64342 (diff)
forward port 2.X changes up to and including rev 6909
git-svn-id: svn://localhost/ardour2/branches/3.0@7639 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/import.cc')
-rw-r--r--libs/ardour/import.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/import.cc b/libs/ardour/import.cc
index 156186dbe4..c3352a6127 100644
--- a/libs/ardour/import.cc
+++ b/libs/ardour/import.cc
@@ -174,8 +174,8 @@ get_paths_for_new_sources (HeaderFormat hf, const bool allow_replacing, const st
std::string filepath = (type == DataType::MIDI)
? sdir.midi_path().to_string() : sdir.sound_path().to_string();
- filepath += '/';
- filepath += get_non_existent_filename (hf, type, allow_replacing, filepath, basename, n, channels);
+ filepath = Glib::build_filename (filepath,
+ get_non_existent_filename (hf, type, allow_replacing, filepath, basename, n, channels));
new_paths.push_back (filepath);
}