archivers/wad.c
changeset 754 e7cd7411eadf
parent 694 80bc8858b4ab
child 759 e4f83afe8969
--- a/archivers/wad.c	Fri Sep 09 20:35:18 2005 +0000
+++ b/archivers/wad.c	Sun Sep 18 21:44:42 2005 +0000
@@ -322,8 +322,8 @@
 
 
 static void WAD_enumerateFiles(dvoid *opaque, const char *dname,
-                               int omitSymLinks, PHYSFS_StringCallback cb,
-                               void *callbackdata)
+                               int omitSymLinks, PHYSFS_EnumFilesCallback cb,
+                               const char *origdir, void *callbackdata)
 {
     WADinfo *info = ((WADinfo *) opaque);
     WADentry *entry = info->entries;
@@ -338,7 +338,7 @@
         {
             name = entry->name;
             if (strchr(name, '/') == NULL)
-                cb(callbackdata, name);
+                cb(callbackdata, origdir, name);
         } /* for */
     } /* if */
     else