summaryrefslogtreecommitdiff
path: root/cocoa/thumbnail.m
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-02-21 18:28:28 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-02-21 18:28:28 +0000
commit7fb4e84c7758e4fca333a996a3364799287cac00 (patch)
tree15f5585822bb9ebe54487f387d130a61acc5c5b7 /cocoa/thumbnail.m
parentcd40c260b9cecbe9d658a00e231aa4d82734e22d (diff)
downloadnetsurf-7fb4e84c7758e4fca333a996a3364799287cac00.tar.gz
netsurf-7fb4e84c7758e4fca333a996a3364799287cac00.tar.bz2
Fix typo so the mac port compiles
svn path=/trunk/netsurf/; revision=11747
Diffstat (limited to 'cocoa/thumbnail.m')
-rw-r--r--cocoa/thumbnail.m2
1 files changed, 1 insertions, 1 deletions
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 );