From ae140141fc25968bc72374b2b0c3642a6130e51d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 9 Oct 2001 15:34:10 +0000 Subject: [PATCH] The DirHandle->funcs pointer wasn't getting set?! --- archivers/dir.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archivers/dir.c b/archivers/dir.c index 298ad61a..2ad9794a 100644 --- a/archivers/dir.c +++ b/archivers/dir.c @@ -209,6 +209,8 @@ static DirHandle *DIR_openArchive(const char *name, int forWriting) if (strcmp((name + namelen) - seplen, dirsep) != 0) strcat((char *) (retval->opaque), dirsep); + retval->funcs = &__PHYSFS_DirFunctions_DIR; + return(retval); } /* DIR_openArchive */