mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
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:
parent
9265e93659
commit
a412965710
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue