diff -r d84d25d6cdbb -r e55a17cdabd2 GraphicsUtils.m --- a/GraphicsUtils.m Sat Mar 08 21:04:41 2008 -0800 +++ b/GraphicsUtils.m Thu Mar 20 09:05:58 2008 -0700 @@ -30,7 +30,7 @@ - (NSImage*) my_shrunkToFitIn: (NSSize) maxSize { NSSize size = self.size; - float scale = MIN( size.width/maxSize.width, size.height/maxSize.height ); + float scale = MIN( maxSize.width/size.width, maxSize.height/size.height ); if( scale >= 1.0 ) return self;