Fixed filename sorting, to fix lookups that shouldn't fail (thanks, Chris!).
authorRyan C. Gordon <icculus@icculus.org>
Wed, 05 Jan 2005 05:15:12 +0000
changeset 671 d761900016b4
parent 669 66a1058b803d
child 673 983fb6750fdd
Fixed filename sorting, to fix lookups that shouldn't fail (thanks, Chris!).
CHANGELOG
archivers/hog.c
--- a/CHANGELOG	Thu Dec 16 16:20:46 2004 +0000
+++ b/CHANGELOG	Wed Jan 05 05:15:12 2005 +0000
@@ -2,7 +2,7 @@
  * CHANGELOG.
  */
 
-
+01052005 - Fixed HOG archiver file lookup (thanks, Chris!)
 12162004 - Fixed some documentation/header comment typos (thanks, Gaetan!)
 10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
            Build system respects external CFLAGS now. (thanks, Adam!)
--- a/archivers/hog.c	Thu Dec 16 16:20:46 2004 +0000
+++ b/archivers/hog.c	Wed Jan 05 05:15:12 2005 +0000
@@ -233,7 +233,7 @@
 static int hog_entry_cmp(void *_a, PHYSFS_uint32 one, PHYSFS_uint32 two)
 {
     HOGentry *a = (HOGentry *) _a;
-    return(strcmp(a[one].name, a[two].name));
+    return(__PHYSFS_platformStricmp(a[one].name, a[two].name));
 } /* hog_entry_cmp */