fix ResPaths::listdir
This commit is contained in:
parent
e31952b990
commit
ef170247cc
@ -286,7 +286,7 @@ std::vector<io::path> ResPaths::listdir(
|
|||||||
io::path folder = root.path / folderName;
|
io::path folder = root.path / folderName;
|
||||||
if (!io::is_directory(folder)) continue;
|
if (!io::is_directory(folder)) continue;
|
||||||
for (const auto& entry : io::directory_iterator(folder)) {
|
for (const auto& entry : io::directory_iterator(folder)) {
|
||||||
entries.push_back(folder / entry);
|
entries.push_back(entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return entries;
|
return entries;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user