Skip to content

Commit

Permalink
Error subsystem does basic initialization during PHYSFS_init(), now.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 4, 2002
1 parent 992321a commit d5a699c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions physfs.c
Expand Up @@ -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 */

Expand Down

0 comments on commit d5a699c

Please sign in to comment.