]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/file-path.cc
patch::: 1.3.131.jcn1
[lilypond.git] / flower / file-path.cc
index d7d6d27c37195f9cb8b154047f6012fa867b8f7c..f290b83628b471a71da6e7857a1a65d6f8198e6a 100644 (file)
@@ -17,8 +17,9 @@
 #define PATHSEP ':'
 #endif
 
+/* We don't have multiple roots, set this to '\0'? */
 #ifndef ROOTSEP
-#define ROOTSEP '/'
+#define ROOTSEP ':'
 #endif
 
 #ifndef DIRSEP
@@ -56,7 +57,7 @@ split_path (String path)
   if (i >= 0)
     {
       p.root = path.left_str (i);
-      path = path.right_str (path.length_i () - i); // - 1);
+      path = path.right_str (path.length_i () - i - 1);
     }
 
   i = path.index_last_i (DIRSEP);