summaryrefslogtreecommitdiff
path: root/src/fl_rect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_rect.cxx')
-rw-r--r--src/fl_rect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx
index 4a5606357..33a874856 100644
--- a/src/fl_rect.cxx
+++ b/src/fl_rect.cxx
@@ -188,7 +188,7 @@ void Fl_Graphics_Driver::rectf(int x, int y, int w, int h) {
rect.right = x + w; rect.bottom = y + h;
FillRect(fl_gc, &rect, fl_brush());
#elif defined(__APPLE_QUARTZ__)
- CGRect rect = CGRectMake(x, y, w - 1 , h - 1);
+ CGRect rect = CGRectMake(x, y, w - 0.9 , h - 0.9);
CGContextFillRect(fl_gc, rect);
#else
# error unsupported platform