summaryrefslogtreecommitdiff
path: root/platform/ios/Classes/MuPageViewNormal.m
diff options
context:
space:
mode:
authorPaul Gardiner <paul.gardiner@artifex.com>2013-11-22 13:34:21 +0000
committerPaul Gardiner <paul.gardiner@artifex.com>2013-11-22 13:34:21 +0000
commite37c130bced9c040442d168174305a78756576fb (patch)
treea48c7ce0e7feac5b79b65e34ebbd0a40c8dbdcb3 /platform/ios/Classes/MuPageViewNormal.m
parent1a10116e24a1cd09db871c0c92a828e3adc75103 (diff)
downloadmupdf-e37c130bced9c040442d168174305a78756576fb.tar.xz
iOS: fix white-space inconsistency
Diffstat (limited to 'platform/ios/Classes/MuPageViewNormal.m')
-rw-r--r--platform/ios/Classes/MuPageViewNormal.m9
1 files changed, 2 insertions, 7 deletions
diff --git a/platform/ios/Classes/MuPageViewNormal.m b/platform/ios/Classes/MuPageViewNormal.m
index c2f609c9..d240592d 100644
--- a/platform/ios/Classes/MuPageViewNormal.m
+++ b/platform/ios/Classes/MuPageViewNormal.m
@@ -43,13 +43,8 @@ static UIImage *newImageWithPixmap(fz_pixmap *pix, CGDataProviderRef cgdata)
int w = fz_pixmap_width(ctx, pix);
int h = fz_pixmap_height(ctx, pix);
CGColorSpaceRef cgcolor = CGColorSpaceCreateDeviceRGB();
- CGImageRef cgimage = CGImageCreate(w, h, 8, 32, 4 * w,
- cgcolor, kCGBitmapByteOrderDefault,
- cgdata, NULL, NO, kCGRenderingIntentDefault);
- UIImage *image = [[UIImage alloc]
- initWithCGImage: cgimage
- scale: screenScale
- orientation: UIImageOrientationUp];
+ CGImageRef cgimage = CGImageCreate(w, h, 8, 32, 4 * w, cgcolor, kCGBitmapByteOrderDefault, cgdata, NULL, NO, kCGRenderingIntentDefault);
+ UIImage *image = [[UIImage alloc] initWithCGImage: cgimage scale: screenScale orientation: UIImageOrientationUp];
CGColorSpaceRelease(cgcolor);
CGImageRelease(cgimage);
return image;