summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-07-21 18:01:58 -0700
committerpommicket <pommicket@gmail.com>2023-07-21 18:27:14 -0400
commitf8b5606c42ba3ae35baf823c12865cc7aa68d260 (patch)
treee3e80175aa5776d2874b8644405a228e6d58d4dd /util.c
parente2d3a5d3c72206ffed7a8d252f2050fe0333c9bf (diff)
update windows installer2.4.2
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