The DirHandle->funcs pointer wasn't getting set?!
This commit is contained in:
parent
3fdf86c573
commit
ae140141fc
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue