summaryrefslogtreecommitdiff
path: root/src/Fl_Quartz_Printer.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-02 09:55:47 +0000
committerManolo Gouy <Manolo>2011-02-02 09:55:47 +0000
commit864918b6b2d65284e954c5ff9786c2f465e10923 (patch)
tree2f9f50340120429621d8b10be2f5e1a75186b19d /src/Fl_Quartz_Printer.mm
parent816fc3b9718c8c407a41d7e0a5d400b5f3ed07b6 (diff)
Minor change in Fl_System_Printer constructors: use the same graphics driver as the display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Quartz_Printer.mm')
-rw-r--r--src/Fl_Quartz_Printer.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Quartz_Printer.mm b/src/Fl_Quartz_Printer.mm
index 6f4c07a1b..946767375 100644
--- a/src/Fl_Quartz_Printer.mm
+++ b/src/Fl_Quartz_Printer.mm
@@ -42,7 +42,7 @@ Fl_System_Printer::Fl_System_Printer(void)
scale_x = scale_y = 1.;
class_name(class_id);
gc = 0;
- driver(fl_graphics_driver);
+ driver(Fl_Display_Device::display_device()->driver());
}
Fl_System_Printer::~Fl_System_Printer(void) {}