diff options
Diffstat (limited to 'zencore/filesystem.cpp')
| -rw-r--r-- | zencore/filesystem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp index 7a1f6c336..2d2603434 100644 --- a/zencore/filesystem.cpp +++ b/zencore/filesystem.cpp @@ -138,9 +138,9 @@ WipeDirectory(const wchar_t* DirPath) } } } while (FindNextFileW(hFind, &FindData) == TRUE); - } - FindClose(hFind); + FindClose(hFind); + } return true; } @@ -819,7 +819,7 @@ TEST_CASE("filesystem") using namespace std::filesystem; // GetExePath - path BinPath = GetRunningExecutablePath(); + path BinPath = GetRunningExecutablePath(); const bool ExpectedExe = BinPath.stem() == "zencore-test" || BinPath.stem() == "zenserver-test"; CHECK(ExpectedExe); CHECK(is_regular_file(BinPath)); |