diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-28 20:42:14 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-28 20:42:14 +0000 |
| commit | 226715d978654145c1a011fe8ebf35431774c33d (patch) | |
| tree | 5a46c136b94262846b69775f4052d1cc49ffacd2 /src/fl_boxtype.cxx | |
| parent | c25988a756ccc3e01a554840bc9195de5641243f (diff) | |
Bug fixes from Howard.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_boxtype.cxx')
| -rw-r--r-- | src/fl_boxtype.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_boxtype.cxx b/src/fl_boxtype.cxx index 98c8afcde..dc71ca0f3 100644 --- a/src/fl_boxtype.cxx +++ b/src/fl_boxtype.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_boxtype.cxx,v 1.8.2.4.2.10 2002/08/09 03:17:30 easysw Exp $" +// "$Id: fl_boxtype.cxx,v 1.8.2.4.2.11 2003/01/28 20:42:14 easysw Exp $" // // Box drawing code for the Fast Light Tool Kit (FLTK). // @@ -267,7 +267,7 @@ void Fl::set_boxtype(Fl_Boxtype t, Fl_Boxtype f) { } void fl_draw_box(Fl_Boxtype t, int x, int y, int w, int h, Fl_Color c) { - if (t) fl_box_table[t].f(x,y,w,h,c); + if (t && fl_box_table[t].f) fl_box_table[t].f(x,y,w,h,c); } //extern Fl_Widget *fl_boxcheat; // hack set by Fl_Window.cxx @@ -295,5 +295,5 @@ const { } // -// End of "$Id: fl_boxtype.cxx,v 1.8.2.4.2.10 2002/08/09 03:17:30 easysw Exp $". +// End of "$Id: fl_boxtype.cxx,v 1.8.2.4.2.11 2003/01/28 20:42:14 easysw Exp $". // |
