Unverified Commit c53d26cf authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update utils.cpp

parent c188bee2
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment