summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 96622ec..2f32015 100644
--- a/util.c
+++ b/util.c
@@ -402,7 +402,7 @@ const char *path_filename(const char *path) {
}
bool path_is_absolute(const char *path) {
- return path[0] == PATH_SEPARATOR
+ return strchr(ALL_PATH_SEPARATORS, path[0]) != NULL
#if _WIN32
|| path[1] == ':'
#endif