mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 11:00:59 +00:00
make extension checking case insensitive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29310 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b8d262c293
commit
331aa92b2f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-01-18 Riccardo Mottola <rmottola@users.sf.net>
|
||||||
|
|
||||||
|
* Source/NSImage.m: _useFromFile: make extension checking case
|
||||||
|
insensitive
|
||||||
|
|
||||||
2010-01-17 01:04-EST Gregory John Casamento <greg.casamento@gmail.com>
|
2010-01-17 01:04-EST Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/NSWindow.m: Temporarily revert previous change for debugging.
|
* Source/NSWindow.m: Temporarily revert previous change for debugging.
|
||||||
|
|
|
@ -1810,7 +1810,7 @@ iterate_reps_for_types(NSArray* imageReps, SEL method)
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
ext = [fileName pathExtension];
|
ext = [[fileName pathExtension] lowercaseString];
|
||||||
if (!ext)
|
if (!ext)
|
||||||
return NO;
|
return NO;
|
||||||
array = [isa imageFileTypes];
|
array = [isa imageFileTypes];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue