diff options
author | Aaron M. Ucko <ucko@debian.org> | 2015-07-07 01:32:55 -0400 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2015-07-07 01:40:11 -0400 |
commit | 574b357ee8bd5c44a1511a5a29f60b2d659b263f (patch) | |
tree | e7f69d70ef4c9414325db8cca0b4e7b56ee7c81a /src/fl_rect.cxx | |
parent | 51a046516db7c8e194cc232e4fb18ecb3ffa65dc (diff) | |
parent | a3d0ced57399c9fd8075377b7310d545f968e524 (diff) |
Merge tag 'upstream/1.3.3' (Closes: #791346.)
Upstream version 1.3.3
Diffstat (limited to 'src/fl_rect.cxx')
-rw-r--r-- | src/fl_rect.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index e63ca13..d96b35f 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_rect.cxx 9293 2012-03-18 18:48:29Z manolo $" +// "$Id: fl_rect.cxx 10401 2014-10-28 13:44:09Z manolo $" // // Rectangle drawing routines for the Fast Light Tool Kit (FLTK). // @@ -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 - 0.9 , h - 0.9); + CGRect rect = CGRectMake(x - 0.5, y - 0.5, w , h); CGContextFillRect(fl_gc, rect); #else # error unsupported platform @@ -708,5 +708,5 @@ int Fl_Graphics_Driver::clip_box(int x, int y, int w, int h, int& X, int& Y, int } // -// End of "$Id: fl_rect.cxx 9293 2012-03-18 18:48:29Z manolo $". +// End of "$Id: fl_rect.cxx 10401 2014-10-28 13:44:09Z manolo $". // |