diff --git a/sc2/ChangeLog b/sc2/ChangeLog index 98f19abc8..45b56cbf3 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,5 @@ Changes towards version 0.7: +- Case insensitive matching when looking for .zip/.uqm/.rmp files - SvdB - Added read-ahead buffering when reading zip index files. - SvdB - Added support for packed ani and font files - Mika - DrawTracedText abstraction (bug #1029), from Nic diff --git a/sc2/src/options.c b/sc2/src/options.c index 6ece7881d..a55d9e623 100644 --- a/sc2/src/options.c +++ b/sc2/src/options.c @@ -408,7 +408,7 @@ mountDirZips (uio_MountHandle *contentHandle, uio_DirHandle *dirHandle, const ch static uio_AutoMount *autoMount[] = { NULL }; uio_DirList *dirList; - dirList = uio_getDirList (dirHandle, "", ".(zip|uqm)$", + dirList = uio_getDirList (dirHandle, "", "\\.([zZ][iI][pP]|[uU][qQ][mM])$", match_MATCH_REGEX); if (dirList != NULL) { @@ -435,7 +435,7 @@ loadIndices (uio_DirHandle *dir) uio_DirList *indices; int numLoaded = 0; - indices = uio_getDirList (dir, "", ".rmp$", + indices = uio_getDirList (dir, "", "\\.[rR][mM][pP]$", match_MATCH_REGEX); if (indices != NULL)