forward port 2.X changes up to and including rev 6909
[ardour.git] / libs / ardour / utils.cc
index 6f8586648d6063548baae92e337151108050d51d..a7d5b960f82c2beb31fe05d7fca3a2ab8022ac1e 100644 (file)
@@ -205,7 +205,7 @@ path_is_paired (ustring path, ustring& pair_base)
 
        /* remove any leading path */
 
-       if ((pos = path.find_last_of ('/')) != string::npos) {
+       if ((pos = path.find_last_of (G_DIR_SEPARATOR)) != string::npos) {
                path = path.substr(pos+1);
        }