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:
John Emmas 2014-04-11 13:03:48 +01:00
parent c046b7c9d3
commit d95de39339
6 changed files with 11 additions and 11 deletions

View file

@ -133,7 +133,7 @@ MissingFileDialog::add_chosen ()
break;
}
split (str, dirs, ':');
split (str, dirs, G_DIR_SEPARATOR);
newdir = chooser.get_filename ();
@ -144,7 +144,7 @@ MissingFileDialog::add_chosen ()
}
if (!str.empty()) {
str += ':';
str += G_DIR_SEPARATOR;
}
str += newdir;