Browse Source

Make PHYSFS_addToSearchPath() use doMount(), too.

Ryan C. Gordon 15 years ago
parent
commit
5ff1a2a12e
1 changed files with 1 additions and 1 deletions
  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)
 int PHYSFS_addToSearchPath(const char *newDir, int appendToPath)
 {
 {
-    return PHYSFS_mount(newDir, NULL, appendToPath);
+    return doMount(NULL, newDir, NULL, appendToPath);
 } /* PHYSFS_addToSearchPath */
 } /* PHYSFS_addToSearchPath */