X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fwebcollage-helper-cocoa.m;h=f85b7071f9258d6ba4d8308b2b22e9e445460a46;hp=0a6e9e36be27890cc044bdd5b5b856e0b2102efa;hb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30;hpb=7edd66e6bd3209013ee059819747b10b5835635b diff --git a/hacks/webcollage-helper-cocoa.m b/hacks/webcollage-helper-cocoa.m index 0a6e9e36..f85b7071 100644 --- a/hacks/webcollage-helper-cocoa.m +++ b/hacks/webcollage-helper-cocoa.m @@ -119,7 +119,7 @@ load_image (const char *file) // so if an image file specified "pixels per inch" we can end up with // absurdly sized images. Set it back to 1:1 pixel:point. // - NSImageRep *rep = [image.representations firstObject]; + NSImageRep *rep = [image.representations objectAtIndex:0]; image.size = NSMakeSize (rep.pixelsWide, rep.pixelsHigh); return image;