diff options
| author | Dan Engelbrecht <[email protected]> | 2025-04-11 16:07:47 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-04-11 16:07:47 +0200 |
| commit | 1bf45ed4d820be75ec0c677976463b09d50d4ac5 (patch) | |
| tree | b04c68bd5a2903aa109a32e3a33142cc5c983eaa /src/zencore/filesystem.cpp | |
| parent | 5.6.5 (diff) | |
| download | zen-1bf45ed4d820be75ec0c677976463b09d50d4ac5.tar.xz zen-1bf45ed4d820be75ec0c677976463b09d50d4ac5.zip | |
use FindClose (#357)
* use FindClose
Diffstat (limited to 'src/zencore/filesystem.cpp')
| -rw-r--r-- | src/zencore/filesystem.cpp | 2 |
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; } } |