Explorar o código

Make PHYSFS_addToSearchPath() use doMount(), too.

Ryan C. Gordon %!s(int64=15) %!d(string=hai) anos
pai
achega
5ff1a2a12e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/physfs.c

+ 1 - 1
src/physfs.c

@@ -1365,7 +1365,7 @@ int PHYSFS_mount(const char *newDir, const char *mountPoint, int appendToPath)
 
 int PHYSFS_addToSearchPath(const char *newDir, int appendToPath)
 {
-    return PHYSFS_mount(newDir, NULL, appendToPath);
+    return doMount(NULL, newDir, NULL, appendToPath);
 } /* PHYSFS_addToSearchPath */