Error subsystem does basic initialization during PHYSFS_init(), now.

This commit is contained in:
Ryan C. Gordon 2002-04-04 17:58:02 +00:00
parent 992321a07e
commit d5a699ccd2
1 changed files with 3 additions and 0 deletions

View File

@ -427,6 +427,9 @@ int PHYSFS_init(const char *argv0)
} /* if */
initialized = 1;
/* This makes sure that the error subsystem is initialized. */
__PHYSFS_setError(PHYSFS_getLastError());
return(1);
} /* PHYSFS_init */