Filesystem: Properly iterate top level dir entries
"." seemed to have worked in earlier PhysFS versions, but it was never the correct way.
This commit is contained in:
parent
947974cac6
commit
7902d0942d
|
@ -523,7 +523,7 @@ void FileSystem::initFontSets(SharedFontState &sfs)
|
||||||
{
|
{
|
||||||
FontSetsCBData d = { p, &sfs };
|
FontSetsCBData d = { p, &sfs };
|
||||||
|
|
||||||
PHYSFS_enumerate(".", findFontsFolderCB, &d);
|
PHYSFS_enumerate("", findFontsFolderCB, &d);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct OpenReadEnumData
|
struct OpenReadEnumData
|
||||||
|
|
Loading…
Reference in New Issue