mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-03 11:09:15 +08:00
Update utils.cpp
This commit is contained in:
parent
c188bee229
commit
c53d26cfca
@ -80,7 +80,7 @@ std::size_t count_files(const std::string &folder)
|
|||||||
HANDLE hFind = INVALID_HANDLE_VALUE;
|
HANDLE hFind = INVALID_HANDLE_VALUE;
|
||||||
|
|
||||||
// Start iterating over the files in the path directory.
|
// 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)
|
if (hFind != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
do // Managed to locate and create an handle to that folder.
|
do // Managed to locate and create an handle to that folder.
|
||||||
|
Loading…
Reference in New Issue
Block a user