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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -523,7 +523,7 @@ void FileSystem::initFontSets(SharedFontState &sfs)
 | 
			
		|||
{
 | 
			
		||||
	FontSetsCBData d = { p, &sfs };
 | 
			
		||||
 | 
			
		||||
	PHYSFS_enumerate(".", findFontsFolderCB, &d);
 | 
			
		||||
	PHYSFS_enumerate("", findFontsFolderCB, &d);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
struct OpenReadEnumData
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue