Make PHYSFS_addToSearchPath() use doMount(), too.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 30 Aug 2010 02:39:28 -0400
changeset 1121 63800b6cf054
parent 1120 67e5e23425a0
child 1122 a710d2a325a6
Make PHYSFS_addToSearchPath() use doMount(), too.
src/physfs.c
--- a/src/physfs.c	Mon Aug 30 02:39:11 2010 -0400
+++ b/src/physfs.c	Mon Aug 30 02:39:28 2010 -0400
@@ -1365,7 +1365,7 @@
 
 int PHYSFS_addToSearchPath(const char *newDir, int appendToPath)
 {
-    return PHYSFS_mount(newDir, NULL, appendToPath);
+    return doMount(NULL, newDir, NULL, appendToPath);
 } /* PHYSFS_addToSearchPath */