Fix typo so the mac port compiles
svn path=/trunk/netsurf/; revision=11747
This commit is contained in:
parent
cd40c260b9
commit
7fb4e84c77
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue