diff options
Diffstat (limited to 'src/stdlib/paths.c')
| -rw-r--r-- | src/stdlib/paths.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdlib/paths.c b/src/stdlib/paths.c index b6152ed4..76d0d629 100644 --- a/src/stdlib/paths.c +++ b/src/stdlib/paths.c @@ -130,7 +130,8 @@ Path_t Path$_concat(int n, Path_t items[n]) { public Path_t Path$resolved(Path_t path, Path_t relative_to) { - if (path.type == PATHTYPE_RELATIVE && !(relative_to.type == PATHTYPE_RELATIVE && relative_to.components.length == 0)) { + if (path.type == PATHTYPE_RELATIVE + && !(relative_to.type == PATHTYPE_RELATIVE && relative_to.components.length == 0)) { Path_t result = {.type = relative_to.type}; result.components = relative_to.components; LIST_INCREF(result.components); |
