mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Make sure we use the correct style of filepath separator on Windows
('libs/ardour/file_source.cc' still to be investigated)
This commit is contained in:
parent
c046b7c9d3
commit
d95de39339
6 changed files with 11 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue