Make PHYSFS_addToSearchPath() use doMount(), too.

This commit is contained in:
Ryan C. Gordon 2010-08-30 02:39:28 -04:00
parent bb9f5e5049
commit 5ff1a2a12e
1 changed files with 1 additions and 1 deletions

View File

@ -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 */