Skip to content

Commit 23027e9

Browse files
committed
修复scanDir遍历目录相关bug (#290)
1 parent bb1a382 commit 23027e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Util/File.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ void File::scanDir(const std::string &path_in, const function<bool(const string
335335
if (isDir && enter_subdirectory) {
336336
//如果是文件夹并且扫描子文件夹,那么递归扫描 [AUTO-TRANSLATED:36773722]
337337
//If it's a folder and scanning subfolders, then recursively scan
338-
scanDir(strAbsolutePath, cb, enter_subdirectory);
338+
scanDir(strAbsolutePath, cb, enter_subdirectory, show_hidden_file);
339339
}
340340
}
341341
closedir(pDir);

0 commit comments

Comments
 (0)