From d5a699ccd28179c52bd394c2dc5d3f7b053bbf4b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 4 Apr 2002 17:58:02 +0000 Subject: [PATCH] Error subsystem does basic initialization during PHYSFS_init(), now. --- physfs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/physfs.c b/physfs.c index 2158865..be7a039 100644 --- a/physfs.c +++ b/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 */