mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
make PBD's path-scanner OS agnostic (use glib)
This commit is contained in:
parent
35272b8c47
commit
ce32d5f17b
2 changed files with 3 additions and 13 deletions
|
|
@ -106,7 +106,7 @@ PathScanner::run_scan_internal (vector<string *> *result,
|
|||
string *newstr;
|
||||
long nfound = 0;
|
||||
|
||||
if ((thisdir = strtok (pathcopy, ":")) == 0 ||
|
||||
if ((thisdir = strtok (pathcopy, G_SEARCHPATH_SEPARATOR_S)) == 0 ||
|
||||
strlen (thisdir) == 0) {
|
||||
free (pathcopy);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue