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:
Jonas Kulla 2017-12-12 22:45:01 +01:00
parent 947974cac6
commit 7902d0942d
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ void FileSystem::initFontSets(SharedFontState &sfs)
{
FontSetsCBData d = { p, &sfs };
PHYSFS_enumerate(".", findFontsFolderCB, &d);
PHYSFS_enumerate("", findFontsFolderCB, &d);
}
struct OpenReadEnumData