diff options
| author | Manolo Gouy <Manolo> | 2016-04-27 16:42:20 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-27 16:42:20 +0000 |
| commit | f4ec7192a9f2c3ada9f7676ca90942306f910db3 (patch) | |
| tree | 332be43a0ec07951d86029126a54840ddd981a5d /src/Fl_Native_File_Chooser.cxx | |
| parent | 425fe6ac8c31ff1500a1745d67aa6bbe781f5328 (diff) | |
Add tests to avoid null pointer errors
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Native_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_Native_File_Chooser.cxx | 2 |
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); } /** |
