From 57f701f4a1b9b7da872509d7349d19c198ccb84e Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sat, 28 Oct 2023 18:22:22 +0200 Subject: win32: Fix temp path --- source/kit/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/kit/file.c b/source/kit/file.c index 10f4857..8fcf4fb 100644 --- a/source/kit/file.c +++ b/source/kit/file.c @@ -156,7 +156,7 @@ kit_str_builder_t kit_path_cache(kit_allocator_t *alloc) { DA_DESTROY(cache); #if defined(_WIN32) && !defined(__CYGWIN__) - cache = kit_get_env_("TEMP", alloc); + cache = kit_get_env(SZ("TEMP"), alloc); if (cache.size != 0) return cache; DA_DESTROY(cache); -- cgit v1.2.3