mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
EggTVData::cache_folders: check that file is directory before iterating
This commit is contained in:
parent
7b67a69754
commit
f94aef4811
1 changed files with 5 additions and 0 deletions
|
|
@ -328,6 +328,11 @@ void EggTVData::cache_folders()
|
|||
{
|
||||
try
|
||||
{
|
||||
if (!entry.is_directory())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Folder folder(*this, entry);
|
||||
|
||||
if (!folder.empty())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue