From 4bdfc28670eb41185480e1a980a3b68ac15da4d5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 15 Feb 2016 17:28:50 +0000 Subject: Reformatting. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/Quartz/Fl_Quartz_Graphics_Driver_rect.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/drivers') diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_rect.cxx b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_rect.cxx index e0a3a50ee..debf15606 100644 --- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_rect.cxx +++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver_rect.cxx @@ -284,7 +284,8 @@ void Fl_Quartz_Graphics_Driver::restore_clip() { CGFloat offset = 0.5; if (at.a != 1 && at.a == at.d && at.b == 0 && at.c == 0) { // proportional scaling, no rotation hgt /= at.a; - offset /= at.a; } + offset /= at.a; + } CGContextTranslateCTM(fl_gc, offset, hgt-offset); CGContextScaleCTM(fl_gc, 1.0f, -1.0f); // now 0,0 is top-left point of the context } -- cgit v1.2.3