mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:17:39 +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
|
@ -1810,7 +1810,7 @@ iterate_reps_for_types(NSArray* imageReps, SEL method)
|
|||
return NO;
|
||||
}
|
||||
|
||||
ext = [fileName pathExtension];
|
||||
ext = [[fileName pathExtension] lowercaseString];
|
||||
if (!ext)
|
||||
return NO;
|
||||
array = [isa imageFileTypes];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue