summaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 11:03:21 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 11:03:21 +1000
commitf926234600af1883c2be259360b44173bb7c12b4 (patch)
tree8938056cf43f7fc1fa5c2362ee022c5599ac8b28 /src/platform
parent0942a484a90695749f05d49273951f2b8d452866 (diff)
updating docs
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/path.c b/src/platform/path.c
index e49aa3a..31fa59c 100644
--- a/src/platform/path.c
+++ b/src/platform/path.c
@@ -12,7 +12,7 @@ path_opt path_parent(arena* a, const char* path) {
char* path_copy = arena_alloc(a, strlen(path) + 1);
strcpy(path_copy, path);
char* path_dirname = dirname(path_copy);
- return (path_opt){ .path = str8_cstr_view(path_dirname), .has_value = true };
+ return (path_opt){ .path = Str8_cstr_view(path_dirname), .has_value = true };
}
#endif
#ifdef CEL_PLATFORM_WINDOWS