summaryrefslogtreecommitdiff
path: root/libs/pbd/pathscanner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pathscanner.cc')
-rw-r--r--libs/pbd/pathscanner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pathscanner.cc b/libs/pbd/pathscanner.cc
index a064fdbc03..6d3cba8d77 100644
--- a/libs/pbd/pathscanner.cc
+++ b/libs/pbd/pathscanner.cc
@@ -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;