summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Native_File_Chooser.cxx')
-rw-r--r--src/Fl_Native_File_Chooser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser.cxx b/src/Fl_Native_File_Chooser.cxx
index c5ed7d70d..0fe990995 100644
--- a/src/Fl_Native_File_Chooser.cxx
+++ b/src/Fl_Native_File_Chooser.cxx
@@ -72,7 +72,7 @@ int Fl_Native_File_Chooser::type() const
*/
void Fl_Native_File_Chooser::options(int o)
{
- platform_fnfc->options(o);
+ if (platform_fnfc) platform_fnfc->options(o);
}
/**