summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBCore.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBCore.m b/macosx/HBCore.m
index 829fcfdce..4e084df0b 100644
--- a/macosx/HBCore.m
+++ b/macosx/HBCore.m
@@ -311,7 +311,8 @@ static void hb_error_handler(const char *errmsg)
- (rotatedRect.size.height / 2));
// Flip
- if (flipped) {
+ if (flipped)
+ {
CGAffineTransform flipHorizontal = CGAffineTransformMake(-1, 0, 0, 1, floor(rotatedRect.size.width), 0);
CGContextConcatCTM(bmContext, flipHorizontal);
}