diff --git a/ChangeLog b/ChangeLog index 0b9cd6067..9b40223ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-01-18 Riccardo Mottola + + * Source/NSImage.m: _useFromFile: make extension checking case + insensitive + 2010-01-17 01:04-EST Gregory John Casamento * Source/NSWindow.m: Temporarily revert previous change for debugging. diff --git a/Source/NSImage.m b/Source/NSImage.m index 40d98053c..7ed028c1f 100644 --- a/Source/NSImage.m +++ b/Source/NSImage.m @@ -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];