Author: manolo
Date: 2010-03-30 23:21:09 -0700 (Tue, 30 Mar 2010)
New Revision: 7375
Log:
Fl_PSfile_Device constructor: initialize scale_x and scale_y

Modified:
   branches/branch-1.3/src/Fl_PS_Printer.cxx

Modified: branches/branch-1.3/src/Fl_PS_Printer.cxx
===================================================================
--- branches/branch-1.3/src/Fl_PS_Printer.cxx   2010-03-30 21:43:48 UTC (rev 
7374)
+++ branches/branch-1.3/src/Fl_PS_Printer.cxx   2010-03-31 06:21:09 UTC (rev 
7375)
@@ -45,6 +45,7 @@
   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

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to