diff options
Diffstat (limited to 'src/platform/path.c')
-rw-r--r-- | src/platform/path.c | 4 |
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 |