mirror of
https://github.com/u0u0/Cocos2d-Lua-Community.git
synced 2026-06-20 23:56:12 +08:00
Win32 fix for FileUtils::listFilesRecursively returning no results. https://github.com/cocos2d/cocos2d-x/pull/20518/
This commit is contained in:
@@ -240,7 +240,7 @@ std::string FileUtilsWin32::getFullPathForFilenameWithinDirectory(const std::str
|
||||
|
||||
void FileUtilsWin32::listFilesRecursively(const std::string& dirPath, std::vector<std::string> *files) const
|
||||
{
|
||||
std::string fullpath = fullPathForFilename(dirPath);
|
||||
std::string fullpath = fullPathForDirectory(dirPath);
|
||||
if (isDirectoryExist(fullpath))
|
||||
{
|
||||
tinydir_dir dir;
|
||||
|
||||
Reference in New Issue
Block a user