From: <Mee...@us...> - 2008-10-15 17:46:30
|
Revision: 3090 http://sc2.svn.sourceforge.net/sc2/?rev=3090&view=rev Author: Meep-Eep Date: 2008-10-15 17:45:17 +0000 (Wed, 15 Oct 2008) Log Message: ----------- Case insensitive matching for .uqm/.zip/.rmp. Also fixes an error in the regexp used before. Modified Paths: -------------- trunk/sc2/ChangeLog trunk/sc2/src/options.c Modified: trunk/sc2/ChangeLog =================================================================== --- trunk/sc2/ChangeLog 2008-10-13 20:42:22 UTC (rev 3089) +++ trunk/sc2/ChangeLog 2008-10-15 17:45:17 UTC (rev 3090) @@ -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 Modified: trunk/sc2/src/options.c =================================================================== --- trunk/sc2/src/options.c 2008-10-13 20:42:22 UTC (rev 3089) +++ trunk/sc2/src/options.c 2008-10-15 17:45:17 UTC (rev 3090) @@ -408,7 +408,7 @@ 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 @@ uio_DirList *indices; int numLoaded = 0; - indices = uio_getDirList (dir, "", ".rmp$", + indices = uio_getDirList (dir, "", "\\.[rR][mM][pP]$", match_MATCH_REGEX); if (indices != NULL) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |