Skip to content
Permalink
Browse files
The DirHandle->funcs pointer wasn't getting set?!
  • Loading branch information
icculus committed Oct 9, 2001
1 parent 3fdf86c commit ae140141fc25968bc72374b2b0c3642a6130e51d
Showing with 2 additions and 0 deletions.
  1. +2 −0 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 */

0 comments on commit ae14014

Please sign in to comment.