aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/filesystem.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-04-11 16:07:47 +0200
committerGitHub Enterprise <[email protected]>2025-04-11 16:07:47 +0200
commit1bf45ed4d820be75ec0c677976463b09d50d4ac5 (patch)
treeb04c68bd5a2903aa109a32e3a33142cc5c983eaa /src/zencore/filesystem.cpp
parent5.6.5 (diff)
downloadzen-1bf45ed4d820be75ec0c677976463b09d50d4ac5.tar.xz
zen-1bf45ed4d820be75ec0c677976463b09d50d4ac5.zip
use FindClose (#357)
* use FindClose
Diffstat (limited to 'src/zencore/filesystem.cpp')
-rw-r--r--src/zencore/filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp
index 8ee21d9ab..ad796cb4a 100644
--- a/src/zencore/filesystem.cpp
+++ b/src/zencore/filesystem.cpp
@@ -281,7 +281,7 @@ WinGetFileAttributes(const std::filesystem::path& Path, std::error_code& Ec)
}
else
{
- CloseHandle(FindHandle);
+ FindClose(FindHandle);
Attributes = FindData.dwFileAttributes;
}
}