summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-10-28 18:22:22 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-10-28 18:22:22 +0200
commit57f701f4a1b9b7da872509d7349d19c198ccb84e (patch)
tree7feb49b62b031efc300b01b86c77f9be89450640 /source
parent1ed4742c8938c67998c829dec90d82221f98cb94 (diff)
downloadkit-57f701f4a1b9b7da872509d7349d19c198ccb84e.zip
win32: Fix temp path
Diffstat (limited to 'source')
-rw-r--r--source/kit/file.c2
1 files changed, 1 insertions, 1 deletions
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);