diff options
| author | Manolo Gouy <Manolo> | 2014-09-08 12:35:23 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-09-08 12:35:23 +0000 |
| commit | c7f0ee3bd0f7d2fe657f4fa7e04f420b877a6542 (patch) | |
| tree | 377ff6b07287852559db826b11ab9645caafaf7a /FL | |
| parent | 3ce67eb59440f5719f472796f7c6fecd2ff47f1c (diff) | |
Fix for STR #3130 where PostScript printing may fail when program modifies LC_NUMERIC of its locale.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_PostScript.H | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H index bfa588b7c..e679b8eaa 100644 --- a/FL/Fl_PostScript.H +++ b/FL/Fl_PostScript.H @@ -25,6 +25,7 @@ #include <FL/Fl_Paged_Device.H> #include <FL/fl_draw.H> +#include <stdarg.h> /** \brief PostScript graphical backend. @@ -59,7 +60,7 @@ extern "C" { } class FL_EXPORT Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver { -public: +public: static const char *class_id; const char *class_name() {return class_id;}; Fl_PostScript_Graphics_Driver(); @@ -205,6 +206,7 @@ class Clip { void draw(Fl_Pixmap * pxm,int XP, int YP, int WP, int HP, int cx, int cy); void draw(Fl_Bitmap * bitmap,int XP, int YP, int WP, int HP, int cx, int cy); void draw(Fl_RGB_Image * rgb,int XP, int YP, int WP, int HP, int cx, int cy); + int clocale_printf(const char *format, ...); ~Fl_PostScript_Graphics_Driver(); }; |
