summaryrefslogtreecommitdiff
path: root/src/platform/path.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-04 10:57:07 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-04 10:57:07 +1000
commita837297eab7447db797198b84fde5f29f1c992ce (patch)
tree01850c363b4b70ea9bd0e44e0378449745ab19db /src/platform/path.c
parentc71e165e7afe563b7a65d6b994314bb403df5f04 (diff)
simplify shader bindings a bit
Diffstat (limited to 'src/platform/path.c')
-rw-r--r--src/platform/path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/path.c b/src/platform/path.c
index 3607089..f43d954 100644
--- a/src/platform/path.c
+++ b/src/platform/path.c
@@ -16,8 +16,8 @@ path_opt path_parent(arena* a, const char* path) {
}
#endif
#ifdef CEL_PLATFORM_WINDOWS
-#include <windows.h>
#include <shlwapi.h>
+#include <windows.h>
#pragma comment(lib, "Shlwapi.lib")
path_opt path_parent(arena* a, const char* path) {
@@ -29,7 +29,7 @@ path_opt path_parent(arena* a, const char* path) {
if (PathRemoveFileSpecA(path_copy)) {
return (path_opt){ .path = Str8_cstr_view(path_copy), .has_value = true };
} else {
- return (path_opt){ .has_value = false};
+ return (path_opt){ .has_value = false };
}
}
#endif