Make sure we use the correct style of filepath separator on Windows

('libs/ardour/file_source.cc' still to be investigated)
This commit is contained in:
John Emmas
2014-04-11 13:03:48 +01:00
parent c046b7c9d3
commit d95de39339
6 changed files with 11 additions and 11 deletions

View File

@@ -170,7 +170,7 @@ PathScanner::run_scan_internal (vector<string *> *result,
}
closedir (dir);
} while ((limit < 0 || (nfound < limit)) && (thisdir = strtok (0, ":")));
} while ((limit < 0 || (nfound < limit)) && (thisdir = strtok (0, G_SEARCHPATH_SEPARATOR_S)));
free (pathcopy);
return result;