Patched archivers/wad.c to compile again.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 12 Oct 2005 22:03:56 +0000
changeset 759 e4f83afe8969
parent 758 d15345ebca8f
child 762 63f2585b5a5e
Patched archivers/wad.c to compile again.
CHANGELOG
archivers/wad.c
--- a/CHANGELOG	Wed Oct 12 22:03:28 2005 +0000
+++ b/CHANGELOG	Wed Oct 12 22:03:56 2005 +0000
@@ -2,7 +2,8 @@
  * CHANGELOG.
  */
 
-10122005 - Fixed locateInStringList() in physfs.c (thanks, Matze!).
+10122005 - Fixed locateInStringList() in physfs.c (thanks, Matze!). Patched
+           archivers/wad.c to compile.
 09192005 - Make unix mutexes recursive above pthread layer...fixes deadlock on
            MacOS X, for now.
 09182005 - API BREAKAGE: PHYSFS_enumerateFilesCallback() now passes the
--- a/archivers/wad.c	Wed Oct 12 22:03:28 2005 +0000
+++ b/archivers/wad.c	Wed Oct 12 22:03:56 2005 +0000
@@ -350,7 +350,7 @@
             if (sep != NULL)
             {
                 if (strncmp(dname, name, (sep - name)) == 0)
-                    cb(callbackdata, sep + 1);
+                    cb(callbackdata, origdir, sep + 1);
             } /* if */
         } /* for */
     } /* else */