summaryrefslogtreecommitdiffstats
path: root/macosx/HBCore.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-01-21 16:00:39 +0100
committerDamiano Galassi <[email protected]>2016-01-21 16:00:39 +0100
commit56925edbfa59cda34d3fa45f4c61f48970cee5fb (patch)
tree1b25ec7e81b915c5dc814efbb857f17668da6aea /macosx/HBCore.m
parent3de558377ac85992076b5d00a0bfcd7477ce8e30 (diff)
MacGui: cosmetics.
Diffstat (limited to 'macosx/HBCore.m')
-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);
}