diff options
| author | Manolo Gouy <Manolo> | 2016-02-15 17:28:50 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-15 17:28:50 +0000 |
| commit | 4bdfc28670eb41185480e1a980a3b68ac15da4d5 (patch) | |
| tree | 75424559f5303188db5eea10fadff1d230d0d6d8 /src/drivers | |
| parent | 6c3397135367fa0f6b37535bbe267c5a67f72f30 (diff) | |
Reformatting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Quartz/Fl_Quartz_Graphics_Driver_rect.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |
