Minor tweak.

This commit is contained in:
Ryan C. Gordon 2012-03-23 02:43:22 -04:00
parent 320b154a11
commit a688d5c686
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static void *GRP_openArchive(PHYSFS_Io *io, const char *name, int forWriting)
assert(io != NULL); /* shouldn't ever happen. */
BAIL_IF_MACRO(forWriting, PHYSFS_ERR_READ_ONLY, 0);
BAIL_IF_MACRO(forWriting, PHYSFS_ERR_READ_ONLY, NULL);
BAIL_IF_MACRO(!__PHYSFS_readAll(io, buf, sizeof (buf)), ERRPASS, NULL);
if (memcmp(buf, "KenSilverman", sizeof (buf)) != 0)