From d95de393390f7f8ee4c13e491b4e4d2555db535a Mon Sep 17 00:00:00 2001 From: John Emmas Date: Fri, 11 Apr 2014 13:03:48 +0100 Subject: Make sure we use the correct style of filepath separator on Windows ('libs/ardour/file_source.cc' still to be investigated) --- libs/pbd/pathexpand.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/pbd/pathexpand.cc') 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 s; vector n; - split (path, s, ':'); + split (path, s, G_SEARCHPATH_SEPARATOR); for (vector::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::iterator i = n.begin(); i != n.end(); ++i) { if (!r.empty()) { - r += ':'; + r += G_SEARCHPATH_SEPARATOR; } r += *i; } -- cgit v1.2.3