summaryrefslogtreecommitdiff
path: root/src/drivers/PostScript/Fl_PostScript.cxx
diff options
context:
space:
mode:
authorMatthiasWM <visualc.git@matthiasm.com>2023-11-29 13:16:35 +0100
committerMatthiasWM <visualc.git@matthiasm.com>2023-11-29 13:16:35 +0100
commit06e2bd7f0e295a34c28ddbb4fa7a03644540bb5c (patch)
tree0c0f9fc3cbb5d290e56ce373695de4991c78bf64 /src/drivers/PostScript/Fl_PostScript.cxx
parent75c879e2ff5022a4084b259c53a769d77ae13713 (diff)
parent44b845cc42b9a0326b6aa3438462bcd1b77ddeb4 (diff)
Merge branch 'master' of https://github.com/fltk/fltk
Diffstat (limited to 'src/drivers/PostScript/Fl_PostScript.cxx')
-rw-r--r--src/drivers/PostScript/Fl_PostScript.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx
index 4ce3f67b9..f5d8f8f11 100644
--- a/src/drivers/PostScript/Fl_PostScript.cxx
+++ b/src/drivers/PostScript/Fl_PostScript.cxx
@@ -145,12 +145,11 @@ Fl_PostScript_Graphics_Driver::Fl_PostScript_Graphics_Driver(void)
//lang_level_ = 3;
lang_level_ = 2;
mask = 0;
-#endif
- ps_filename_ = NULL;
- scale_x = scale_y = 1.;
bg_r = bg_g = bg_b = 255;
clip_ = NULL;
- what = NONE;
+ scale_x = scale_y = 1.;
+#endif
+ ps_filename_ = NULL;
}
/** \brief The destructor. */
@@ -1750,9 +1749,9 @@ Fl_EPS_File_Surface::Fl_EPS_File_Surface(int width, int height, FILE *eps, Fl_Co
if (s != 1) {
ps->clocale_printf("GR GR GS %f %f SC GS\n", s, s);
}
+ Fl::get_color(background, ps->bg_r, ps->bg_g, ps->bg_b);
#endif
ps->scale_x = ps->scale_y = s;
- Fl::get_color(background, ps->bg_r, ps->bg_g, ps->bg_b);
}
}