Skip to content

Commit

Permalink
Minor change in Fl_System_Printer constructors: use the same graphics…
Browse files Browse the repository at this point in the history
… driver as the display.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Feb 2, 2011
1 parent 816fc3b commit 864918b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Fl_GDI_Printer.cxx
Expand Up @@ -37,7 +37,7 @@ extern HWND fl_window;
Fl_System_Printer::Fl_System_Printer(void) : Fl_Paged_Device() {
hPr = NULL;
class_name(class_id);
driver(fl_graphics_driver);
driver(Fl_Display_Device::display_device()->driver());
}

Fl_System_Printer::~Fl_System_Printer(void) {
Expand Down
2 changes: 1 addition & 1 deletion src/Fl_Quartz_Printer.mm
Expand Up @@ -42,7 +42,7 @@
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) {}
Expand Down

0 comments on commit 864918b

Please sign in to comment.