The DirHandle->funcs pointer wasn't getting set?!
authorRyan C. Gordon <icculus@icculus.org>
Tue, 09 Oct 2001 15:34:10 +0000
changeset 110 203bd958330d
parent 109 25e14cb7cab9
child 111 cbedf24a1dc6
The DirHandle->funcs pointer wasn't getting set?!
archivers/dir.c
--- a/archivers/dir.c	Tue Oct 09 15:19:02 2001 +0000
+++ b/archivers/dir.c	Tue Oct 09 15:34:10 2001 +0000
@@ -209,6 +209,8 @@
     if (strcmp((name + namelen) - seplen, dirsep) != 0)
         strcat((char *) (retval->opaque), dirsep);
 
+    retval->funcs = &__PHYSFS_DirFunctions_DIR;
+
     return(retval);
 } /* DIR_openArchive */