Skip to content

Commit

Permalink
The DirHandle->funcs pointer wasn't getting set?!
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 9, 2001
1 parent 3fdf86c commit ae14014
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions archivers/dir.c
Expand Up @@ -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 */

Expand Down

0 comments on commit ae14014

Please sign in to comment.