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 /gtk2_ardour/search_path_option.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 'gtk2_ardour/search_path_option.cc')
-rw-r--r-- | gtk2_ardour/search_path_option.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/search_path_option.cc b/gtk2_ardour/search_path_option.cc index 8a5d99a375..1060e05b3f 100644 --- a/gtk2_ardour/search_path_option.cc +++ b/gtk2_ardour/search_path_option.cc @@ -103,7 +103,7 @@ SearchPathOption::set_state_from_config () clear (); path_box.pack_start (session_label); - split (str, dirs, ':'); + split (str, dirs, G_DIR_SEPARATOR); for (vector<string>::iterator d = dirs.begin(); d != dirs.end(); ++d) { add_path (*d); @@ -118,7 +118,7 @@ SearchPathOption::changed () for (list<PathEntry*>::iterator p = paths.begin(); p != paths.end(); ++p) { if (!str.empty()) { - str += ':'; + str += G_DIR_SEPARATOR; } str += (*p)->entry.get_text (); } |