platform/pocketpc.c
changeset 754 e7cd7411eadf
parent 747 3da194b12f43
child 763 efadd9cdb6a4
--- a/platform/pocketpc.c	Fri Sep 09 20:35:18 2005 +0000
+++ b/platform/pocketpc.c	Sun Sep 18 21:44:42 2005 +0000
@@ -296,7 +296,8 @@
 
 void __PHYSFS_platformEnumerateFiles(const char *dirname,
                                      int omitSymLinks,
-                                     PHYSFS_StringCallback callback,
+                                     PHYSFS_EnumFilesCallback callback,
+                                     const char *origdir,
                                      void *callbackdata)
 {
     HANDLE dir;
@@ -346,7 +347,7 @@
         if (str == NULL)
             break;
 
-        callback(callbackdata, str);
+        callback(callbackdata, origdir, str);
         allocator.Free(str);
     } while (FindNextFile(dir, &ent) != 0);