diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2022-09-26 22:05:57 +0400 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2022-09-26 22:05:57 +0400 |
commit | bab5ae9fabfe7187b46dd56cf7b8fad018053b03 (patch) | |
tree | e266bdd6e04ba9e324f29ce71ba9795dfdc0a07a /source | |
parent | 0dfb6d27f1b45a767d011d18c2d75a93381be67d (diff) | |
download | kit-bab5ae9fabfe7187b46dd56cf7b8fad018053b03.zip |
[win32] fix RemoveDirectoryW
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/kit/file.c b/source/kit/file.c index 35d7034..bb32cdb 100644 --- a/source/kit/file.c +++ b/source/kit/file.c @@ -262,7 +262,7 @@ kit_status_t kit_file_remove(kit_str_t const path) { kit_status_t kit_file_remove_folder(kit_str_t const path) { PREPARE_PATH_BUF_; #if defined(_WIN32) && !defined(__CYGWIN__) - if (DeleteDirectoryW(buf)) + if (RemoveDirectoryW(buf)) return KIT_OK; #else if (rmdir(buf) == 0) |