Skip to content

Commit

Permalink
Fixed an error string.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 14, 2005
1 parent a2cc461 commit 2211ea7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions physfs.c
Expand Up @@ -1736,8 +1736,7 @@ PHYSFS_File *PHYSFS_openRead(const char *_fname)

__PHYSFS_platformGrabMutex(stateLock);

/* !!! FIXME: should probably be ERR_PATH_NOT_FOUND */
BAIL_IF_MACRO_MUTEX(!searchPath, ERR_NOT_IN_SEARCH_PATH, stateLock, NULL);
BAIL_IF_MACRO_MUTEX(!searchPath, ERR_PATH_NOT_FOUND, stateLock, NULL);

/* !!! FIXME: Why aren't we using a for loop here? */
i = searchPath;
Expand Down

0 comments on commit 2211ea7

Please sign in to comment.