diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-04-11 13:03:48 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-04-11 13:03:48 +0100 |
commit | d95de393390f7f8ee4c13e491b4e4d2555db535a (patch) | |
tree | 67d0b63484c40e3ec38932d79e98d0d6ad1969e1 /libs/pbd/pathexpand.cc | |
parent | c046b7c9d36d54600907565271a8ea2ceb004300 (diff) |
Make sure we use the correct style of filepath separator on Windows
('libs/ardour/file_source.cc' still to be investigated)
Diffstat (limited to 'libs/pbd/pathexpand.cc')
-rw-r--r-- | libs/pbd/pathexpand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pathexpand.cc b/libs/pbd/pathexpand.cc index e9bef4c4aa..8184624d89 100644 --- a/libs/pbd/pathexpand.cc +++ b/libs/pbd/pathexpand.cc @@ -174,7 +174,7 @@ PBD::search_path_expand (string path) vector<string> s; vector<string> n; - split (path, s, ':'); + split (path, s, G_SEARCHPATH_SEPARATOR); for (vector<string>::iterator i = s.begin(); i != s.end(); ++i) { string exp = path_expand (*i); @@ -187,7 +187,7 @@ PBD::search_path_expand (string path) for (vector<string>::iterator i = n.begin(); i != n.end(); ++i) { if (!r.empty()) { - r += ':'; + r += G_SEARCHPATH_SEPARATOR; } r += *i; } |