Fixed filename sorting, to fix lookups that shouldn't fail (thanks, Chris!).
This commit is contained in:
parent
d19d7b5a59
commit
5c313d7a93
|
@ -2,7 +2,7 @@
|
||||||
* CHANGELOG.
|
* CHANGELOG.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
01052005 - Fixed HOG archiver file lookup (thanks, Chris!)
|
||||||
12162004 - Fixed some documentation/header comment typos (thanks, Gaetan!)
|
12162004 - Fixed some documentation/header comment typos (thanks, Gaetan!)
|
||||||
10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
|
10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
|
||||||
Build system respects external CFLAGS now. (thanks, Adam!)
|
Build system respects external CFLAGS now. (thanks, Adam!)
|
||||||
|
|
|
@ -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)
|
static int hog_entry_cmp(void *_a, PHYSFS_uint32 one, PHYSFS_uint32 two)
|
||||||
{
|
{
|
||||||
HOGentry *a = (HOGentry *) _a;
|
HOGentry *a = (HOGentry *) _a;
|
||||||
return(strcmp(a[one].name, a[two].name));
|
return(__PHYSFS_platformStricmp(a[one].name, a[two].name));
|
||||||
} /* hog_entry_cmp */
|
} /* hog_entry_cmp */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue