Update utils.cpp

pull/1228/head
Gabi Melman 6 years ago committed by GitHub
parent c188bee229
commit c53d26cfca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,7 +80,7 @@ std::size_t count_files(const std::string &folder)
HANDLE hFind = INVALID_HANDLE_VALUE;
// Start iterating over the files in the path directory.
hFind = ::FindFirstFileA(path.c_str(), &ffd);
hFind = ::FindFirstFileA(folder.c_str(), &ffd);
if (hFind != INVALID_HANDLE_VALUE)
{
do // Managed to locate and create an handle to that folder.

Loading…
Cancel
Save