summaryrefslogtreecommitdiff
path: root/libs/ardour/file_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/file_source.cc')
-rw-r--r--libs/ardour/file_source.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc
index 264d6482b4..84d4f3043f 100644
--- a/libs/ardour/file_source.cc
+++ b/libs/ardour/file_source.cc
@@ -103,13 +103,13 @@ FileSource::init (const string& pathstr, bool must_exist)
}
}
- set_within_session_from_path (pathstr);
+ set_within_session_from_path (_path);
if (!within_session()) {
- _session.ensure_search_path_includes (Glib::path_get_dirname (pathstr), _type);
+ _session.ensure_search_path_includes (Glib::path_get_dirname (_path), _type);
}
- _name = Glib::path_get_basename (pathstr);
+ _name = Glib::path_get_basename (_path);
if (_file_is_new && must_exist) {
return -1;