mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:40:37 +00:00
Fix bug recognising path extensions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27309 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
734a6c759d
commit
50a4201f22
4 changed files with 18 additions and 22 deletions
|
@ -654,8 +654,7 @@ static NSNull *null = nil;
|
|||
unsigned count;
|
||||
|
||||
imageTypes = [NSImage imageFileTypes];
|
||||
for (count = 0, image = nil; image == nil && count < [imageTypes count];
|
||||
count++)
|
||||
for (count = 0; count < [imageTypes count]; count++)
|
||||
{
|
||||
NSString *ext = [imageTypes objectAtIndex: count];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue