From 1d7e6edead2b6288945774a1a0fbf72493fe2ba1 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 31 Mar 2010 06:21:09 +0000 Subject: Fl_PSfile_Device constructor: initialize scale_x and scale_y git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_PS_Printer.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Fl_PS_Printer.cxx b/src/Fl_PS_Printer.cxx index 57bfe7336..347c40644 100644 --- a/src/Fl_PS_Printer.cxx +++ b/src/Fl_PS_Printer.cxx @@ -45,6 +45,7 @@ Fl_PSfile_Device::Fl_PSfile_Device(void) mask = 0; ps_filename_ = NULL; type_ = postscript_device; + scale_x = scale_y = 1.; #ifdef __APPLE__ gc = fl_gc; // the display context is used by fl_text_extents() #endif -- cgit v1.2.3