diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-04-11 15:36:04 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-04-11 15:36:04 +0100 |
commit | 5d9c2104d200aebc33a302c0018fd891e10351e6 (patch) | |
tree | 679d8f1abdf1024df68fb729f88a9d4978ed167d /gtk2_ardour | |
parent | d95de393390f7f8ee4c13e491b4e4d2555db535a (diff) |
Oops - correct some typos in my previous commit
(accidentally used G_DIR_SEPARATOR instead of G_SEARCHPATH_SEPARATOR)
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/missing_file_dialog.cc | 4 | ||||
-rw-r--r-- | gtk2_ardour/search_path_option.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/missing_file_dialog.cc b/gtk2_ardour/missing_file_dialog.cc index 25f443d198..532101e762 100644 --- a/gtk2_ardour/missing_file_dialog.cc +++ b/gtk2_ardour/missing_file_dialog.cc @@ -133,7 +133,7 @@ MissingFileDialog::add_chosen () break; } - split (str, dirs, G_DIR_SEPARATOR); + split (str, dirs, G_SEARCHPATH_SEPARATOR); newdir = chooser.get_filename (); @@ -144,7 +144,7 @@ MissingFileDialog::add_chosen () } if (!str.empty()) { - str += G_DIR_SEPARATOR; + str += G_SEARCHPATH_SEPARATOR; } str += newdir; diff --git a/gtk2_ardour/search_path_option.cc b/gtk2_ardour/search_path_option.cc index 1060e05b3f..9aea617812 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, G_DIR_SEPARATOR); + split (str, dirs, G_SEARCHPATH_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 += G_DIR_SEPARATOR; + str += G_SEARCHPATH_SEPARATOR; } str += (*p)->entry.get_text (); } |