Fix typo so the mac port compiles

svn path=/trunk/netsurf/; revision=11747
This commit is contained in:
Sven Weidauer 2011-02-21 18:28:28 +00:00
parent cd40c260b9
commit 7fb4e84c77
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap,
CGColorSpaceRelease( cspace ); CGColorSpaceRelease( cspace );
size_t width = MIN( content_get_width( content ), 1024 ); 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 ); CGContextTranslateCTM( bitmapContext, 0, bheight );
CGContextScaleCTM( bitmapContext, (CGFloat)bwidth / width, -(CGFloat)bheight / height ); CGContextScaleCTM( bitmapContext, (CGFloat)bwidth / width, -(CGFloat)bheight / height );