Patched archivers/wad.c to compile again.

This commit is contained in:
Ryan C. Gordon 2005-10-12 22:03:56 +00:00
parent b7a3aeaccd
commit 361c434180
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@
* CHANGELOG. * 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 09192005 - Make unix mutexes recursive above pthread layer...fixes deadlock on
MacOS X, for now. MacOS X, for now.
09182005 - API BREAKAGE: PHYSFS_enumerateFilesCallback() now passes the 09182005 - API BREAKAGE: PHYSFS_enumerateFilesCallback() now passes the

View File

@ -350,7 +350,7 @@ static void WAD_enumerateFiles(dvoid *opaque, const char *dname,
if (sep != NULL) if (sep != NULL)
{ {
if (strncmp(dname, name, (sep - name)) == 0) if (strncmp(dname, name, (sep - name)) == 0)
cb(callbackdata, sep + 1); cb(callbackdata, origdir, sep + 1);
} /* if */ } /* if */
} /* for */ } /* for */
} /* else */ } /* else */