platform/os2.c
changeset 754 e7cd7411eadf
parent 747 3da194b12f43
child 763 efadd9cdb6a4
--- a/platform/os2.c	Fri Sep 09 20:35:18 2005 +0000
+++ b/platform/os2.c	Sun Sep 18 21:44:42 2005 +0000
@@ -398,7 +398,8 @@
 
 void __PHYSFS_platformEnumerateFiles(const char *dirname,
                                      int omitSymLinks,
-                                     PHYSFS_StringCallback callback,
+                                     PHYSFS_EnumFilesCallback callback,
+                                     const char *origdir,
                                      void *callbackdata)
 {
     char spec[CCHMAXPATH];
@@ -427,7 +428,7 @@
     while (count == 1)
     {
         if ((strcmp(fb.achName, ".") != 0) && (strcmp(fb.achName, "..") != 0))
-            callback(callbackdata, fb.achName);
+            callback(callbackdata, origdir, fb.achName);
 
         DosFindNext(hdir, &fb, sizeof (fb), &count);
     } /* while */