Make sure ext is lowercase

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17500 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-08-20 03:58:49 +00:00
parent 9265e93659
commit a412965710
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-08-19 Adam Fedor <fedor@gnu.org>
* Source/NSImageRep.m ([NSImageRep +imageRepsWithContentsOfFile:]):
Make sure extension is lowercase.
Fixes #4750.
2003-08-18 Adam Fedor <fedor@gnu.org>
* Model/GNUmakefile (ADDITIONAL_INCLUDE_DIRS): Don't include

View file

@ -169,6 +169,7 @@ static Class NSImageRep_class = NULL;
NSLog(@"Extension missing from image filename - '%@'", filename);
return nil;
}
ext = [ext lowercaseString];
if (self == NSImageRep_class)
{