2.0.0 backport: Fixed HOG archiver sorting/lookups (thanks Chris!) stable-1.0
authorRyan C. Gordon <icculus@icculus.org>
Wed, 05 Jan 2005 05:16:53 +0000
branchstable-1.0
changeset 672 1f7238403f0a
parent 670 47c76e291a2f
child 675 6b25ff23fa66
2.0.0 backport: Fixed HOG archiver sorting/lookups (thanks Chris!)
CHANGELOG
archivers/hog.c
--- a/CHANGELOG	Thu Dec 16 16:25:42 2004 +0000
+++ b/CHANGELOG	Wed Jan 05 05:16:53 2005 +0000
@@ -4,6 +4,7 @@
 
 -- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---
 
+01052004 - Fixed HOG archiver sorting/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!)
            Removed .cvsignore files (we're in a Subversion repository, now).
--- a/archivers/hog.c	Thu Dec 16 16:25:42 2004 +0000
+++ b/archivers/hog.c	Wed Jan 05 05:16:53 2005 +0000
@@ -301,7 +301,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 */