Ver Fonte

PHYSFS_enumerateFiles bug has been fixed post-2.1.0.

--HG--
branch : minor
Alex Szpakowski há 8 anos atrás
pai
commit
bf67d7ad0e
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/modules/filesystem/physfs/Filesystem.cpp

+ 2 - 2
src/modules/filesystem/physfs/Filesystem.cpp

@@ -709,8 +709,8 @@ void Filesystem::setSymlinksEnabled(bool enable)
 		PHYSFS_getLinkedVersion(&version);
 
 		// FIXME: This is a workaround for a bug in PHYSFS_enumerateFiles in
-		// PhysFS 2.1-alpha.
-		if (version.major == 2 && version.minor == 1)
+		// PhysFS 2.1.0-alpha.
+		if (version.major == 2 && version.minor == 1 && version.patch == 0)
 			return;
 	}