Skip to content
Permalink
Browse files
Error subsystem does basic initialization during PHYSFS_init(), now.
  • Loading branch information
icculus committed Apr 4, 2002
1 parent 992321a commit d5a699ccd28179c52bd394c2dc5d3f7b053bbf4b
Showing with 3 additions and 0 deletions.
  1. +3 −0 physfs.c
@@ -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 */

0 comments on commit d5a699c

Please sign in to comment.