physfs.c
changeset 427 c38ace41039f
parent 398 aa1e763b09ae
child 453 108de3bb1b6b
equal deleted inserted replaced
426:1fc4e719c30c 427:c38ace41039f
   822     } /* if */
   822     } /* if */
   823 
   823 
   824         /* Root out archives, and add them to search path... */
   824         /* Root out archives, and add them to search path... */
   825     if (archiveExt != NULL)
   825     if (archiveExt != NULL)
   826     {
   826     {
   827         char **rc = PHYSFS_enumerateFiles("");
   827         char **rc = PHYSFS_enumerateFiles("/");
   828         char **i;
   828         char **i;
   829         size_t extlen = strlen(archiveExt);
   829         size_t extlen = strlen(archiveExt);
   830         char *ext;
   830         char *ext;
   831 
   831 
   832         for (i = rc; *i != NULL; i++)
   832         for (i = rc; *i != NULL; i++)