physfs.c
changeset 167 fd695ca50a2c
parent 163 fc2b8ee5b420
child 186 fcabc280b29d
--- a/physfs.c	Thu Apr 04 17:56:20 2002 +0000
+++ b/physfs.c	Thu Apr 04 17:58:02 2002 +0000
@@ -427,6 +427,9 @@
     } /* if */
 
     initialized = 1;
+
+    /* This makes sure that the error subsystem is initialized. */
+    __PHYSFS_setError(PHYSFS_getLastError());
     return(1);
 } /* PHYSFS_init */