From 73fc0593bfab6d9990cc58d612b34592e1140af6 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 5 Jan 2005 05:16:53 +0000 Subject: [PATCH] 2.0.0 backport: Fixed HOG archiver sorting/lookups (thanks Chris!) --- CHANGELOG | 1 + archivers/hog.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 1a64adaa..06cfb3f9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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). diff --git a/archivers/hog.c b/archivers/hog.c index 2f20b7ce..a6de721a 100644 --- a/archivers/hog.c +++ b/archivers/hog.c @@ -301,7 +301,7 @@ static int HOG_isArchive(const char *filename, int forWriting) 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 */