From 5c313d7a93b169891f9d61fda575a698fb635760 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 5 Jan 2005 05:15:12 +0000 Subject: [PATCH] Fixed filename sorting, to fix lookups that shouldn't fail (thanks, Chris!). --- CHANGELOG | 2 +- archivers/hog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index c9a69c6..cd66560 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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!) diff --git a/archivers/hog.c b/archivers/hog.c index c9f784a..3fd82bf 100644 --- a/archivers/hog.c +++ b/archivers/hog.c @@ -233,7 +233,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 */