aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/filesystem.cpp
diff options
context:
space:
mode:
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;
}
}