diff options
Diffstat (limited to 'src/Fl_Quartz_Printer.mm')
| -rw-r--r-- | src/Fl_Quartz_Printer.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Quartz_Printer.mm b/src/Fl_Quartz_Printer.mm index 2a60e4416..9770532f6 100644 --- a/src/Fl_Quartz_Printer.mm +++ b/src/Fl_Quartz_Printer.mm @@ -327,7 +327,7 @@ void Fl_System_Printer::print_window_part(Fl_Window *win, int x, int y, int w, i CGImageRef img = Fl_X::CGImage_from_window_rect(win, x, y, w, h); if (save_front != win) save_front->show(); current->set_current(); - CGRect rect = { { delta_x, delta_y }, { w, h } }; + CGRect rect = CGRectMake(delta_x, delta_y, w, h); Fl_X::q_begin_image(rect, 0, 0, w, h); CGContextDrawImage(fl_gc, rect, img); Fl_X::q_end_image(); |
