From 7b6d0a81968fe91d7c824f9eb3821981e87fd1fc Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 10 Nov 2020 15:51:44 +0100 Subject: [PATCH] Restore building with --disable-svg --- src/drivers/SVG/Fl_SVG_File_Surface.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {}