diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 3b4af18e4..a64f70c16 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4263,7 +4263,7 @@ static NSBitmapImageRep* rect_to_NSBitmapImageRep(Fl_Window *win, int x, int y, } else { NSView *winview = nil; if ( through_Fl_X_flush && Fl_Window::current() == win ) { - rect = NSMakeRect(s*x - 0.5, s*y - 0.5, s*w, s*h); + rect = NSMakeRect(x - 0.5, y - 0.5, w, h); } else { winview = [fl_xid(win) contentView]; |
