diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-10 15:51:44 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-11-10 15:51:54 +0100 |
| commit | 7b6d0a81968fe91d7c824f9eb3821981e87fd1fc (patch) | |
| tree | 1b7c563a38610ae5f4078becf599b23059ad7bae /src | |
| parent | 08b36fe4c88c45bbc2f64654e314ce2bb47fcf8c (diff) | |
Restore building with --disable-svg
Diffstat (limited to 'src')
| -rw-r--r-- | src/drivers/SVG/Fl_SVG_File_Surface.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/SVG/Fl_SVG_File_Surface.cxx b/src/drivers/SVG/Fl_SVG_File_Surface.cxx index 2a48ac8f6..552b1bf0b 100644 --- a/src/drivers/SVG/Fl_SVG_File_Surface.cxx +++ b/src/drivers/SVG/Fl_SVG_File_Surface.cxx @@ -1005,7 +1005,8 @@ void Fl_SVG_Graphics_Driver::arc_pie(char AorP, int x, int y, int w, int h, doub #else -Fl_SVG_File_Surface::Fl_SVG_File_Surface(int w, int h, FILE *f) : Fl_Widget_Surface(NULL) { +Fl_SVG_File_Surface::Fl_SVG_File_Surface(int w, int h, FILE *f, int (*closef)(FILE*)) : Fl_Widget_Surface(NULL) { + closef_ = NULL; width_ = height_ = 0; } Fl_SVG_File_Surface::~Fl_SVG_File_Surface() {} |
