From 3cd3b20f58e9d2c6463d503be09e5d4cfaadee6c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 12 Oct 2025 14:05:22 -0400 Subject: Code cleanup and fixing minor issues --- src/stdlib/paths.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stdlib/paths.c') 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); -- cgit v1.2.3