summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-02-11 10:09:44 +0000
committerManolo Gouy <Manolo>2015-02-11 10:09:44 +0000
commiteb82b2fb9acb1075cd02a175dc01ef8f41779b70 (patch)
tree48efe3fe05f9b25db7ff8356a434fab9e47c4611 /src
parent9cb0516301f030235dd955d0233ab30c7d8495bf (diff)
Fixed change made at r.10560 that breaks compilation with old SDKs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 1aff731a2..0e4ab5b80 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -4393,7 +4393,7 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset)
win->label(title); // put back the window title
this->set_current(); // back to the Fl_Paged_Device
if (img && to_quartz) { // print the title bar
- CGRect rect = NSMakeRect(x_offset, y_offset, win->w(), bt);
+ CGRect rect = CGRectMake(x_offset, y_offset, win->w(), bt);
Fl_X::q_begin_image(rect, 0, 0, win->w(), bt);
CGContextDrawImage(fl_gc, rect, img);
Fl_X::q_end_image();