X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Ffile-path.cc;h=f290b83628b471a71da6e7857a1a65d6f8198e6a;hb=a6157e173876ce2a638649ba8c240f02ed905888;hp=d7d6d27c37195f9cb8b154047f6012fa867b8f7c;hpb=94189ec2b8da6d7e89dc619c646a927adead9b19;p=lilypond.git diff --git a/flower/file-path.cc b/flower/file-path.cc index d7d6d27c37..f290b83628 100644 --- a/flower/file-path.cc +++ b/flower/file-path.cc @@ -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);