diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-09 13:36:16 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-09 13:36:16 +0100 |
| commit | ffeaeec5bd5bcc9d4180438869b00eed14d13f13 (patch) | |
| tree | 424bee5e23ab1f872ea5958e4193c8e58db15327 /test/pixmap_browser.cxx | |
| parent | 3895068aa1d4054153583c3cd39949d72b6c39ca (diff) | |
Move FLTK_USE_SVG from config.h to FL/fl_config.h
Diffstat (limited to 'test/pixmap_browser.cxx')
| -rw-r--r-- | test/pixmap_browser.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/pixmap_browser.cxx b/test/pixmap_browser.cxx index 9478540cd..c76dcd99a 100644 --- a/test/pixmap_browser.cxx +++ b/test/pixmap_browser.cxx @@ -1,7 +1,7 @@ // // A shared image test program for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2023 by Bill Spitzak and others. +// Copyright 1998-2024 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -14,7 +14,7 @@ // https://www.fltk.org/bugs.php // -#include <config.h> +#include <FL/platform.H> #include <FL/Fl.H> #include <FL/Fl_Box.H> #include <FL/Fl_Double_Window.H> @@ -91,10 +91,7 @@ void button_cb(Fl_Widget *,void *) { fl_file_chooser_callback(file_cb); const char *fname = fl_file_chooser("Image file?","*.{bm,bmp,gif,ico,jpg,pbm,pgm,png,ppm,xbm,xpm" #ifdef FLTK_USE_SVG - ",svg" -#ifdef HAVE_LIBZ - ",svgz" -#endif // HAVE_LIBZ + ",svg,svgz" #endif // FLTK_USE_SVG "}", name); puts(fname ? fname : "(null)"); fflush(stdout); |
