From 7fb4e84c7758e4fca333a996a3364799287cac00 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Mon, 21 Feb 2011 18:28:28 +0000 Subject: Fix typo so the mac port compiles svn path=/trunk/netsurf/; revision=11747 --- cocoa/thumbnail.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/thumbnail.m b/cocoa/thumbnail.m index 0ec66b52a..d91d4810a 100644 --- a/cocoa/thumbnail.m +++ b/cocoa/thumbnail.m @@ -39,7 +39,7 @@ bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap, CGColorSpaceRelease( cspace ); size_t width = MIN( content_get_width( content ), 1024 ); - size_t height = ((width * bheight) + bwidth / 2)) / bwidth; + size_t height = ((width * bheight) + bwidth / 2) / bwidth; CGContextTranslateCTM( bitmapContext, 0, bheight ); CGContextScaleCTM( bitmapContext, (CGFloat)bwidth / width, -(CGFloat)bheight / height ); -- cgit v1.2.3