Browse Source

PHYSFS_enumerateFiles bug has been fixed post-2.1.0.

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
bf67d7ad0e
1 changed files with 2 additions and 2 deletions
  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;
 	}