diff options
| author | Manolo Gouy <Manolo> | 2010-03-31 06:21:09 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-03-31 06:21:09 +0000 |
| commit | 1d7e6edead2b6288945774a1a0fbf72493fe2ba1 (patch) | |
| tree | 9e319ad150c34a2044cb6990c38728c69517168e | |
| parent | 9f7ecc197ee0ebac285e31db8f1f2b46d79e74c7 (diff) | |
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
| -rw-r--r-- | src/Fl_PS_Printer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
