diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-24 14:19:19 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-05-24 14:19:19 +0000 |
| commit | 3a117a899c6abb192f2498e88cc30997ad5763c2 (patch) | |
| tree | b86fdbec53783e7f239197935ab3b085f286128c /fluid | |
| parent | 262321f5e61bb801b6e169e697d9a716cfb0c439 (diff) | |
Get rid of as many compiler warnings as possible.
Add missing offbits seek when reading BMP files.
Add -OPT:Olimit=4000 to SGI compiler options (for keyboard_ui)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 759998650..c649fcde1 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.15 2002/05/16 12:47:42 easysw Exp $" +// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.16 2002/05/24 14:19:19 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -297,11 +297,9 @@ void name_public_cb(Fl_Light_Button* i, void* v) { static char* oldlabel; static unsigned oldlabellen; -static Fl_Input *label_input; void label_cb(Fl_Input* i, void *v) { if (v == LOAD) { - label_input = i; i->static_value(current_widget->label()); if (strlen(i->value()) >= oldlabellen) { oldlabellen = strlen(i->value())+128; @@ -370,11 +368,8 @@ void inactive_browse_cb(Fl_Button* b, void *v) { } } -static Fl_Input *tooltip_input; - void tooltip_cb(Fl_Input* i, void *v) { if (v == LOAD) { - tooltip_input = i; if (current_widget->is_widget()) { i->activate(); i->static_value(((Fl_Widget_Type*)current_widget)->tooltip()); @@ -1975,5 +1970,5 @@ int Fl_Widget_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.15 2002/05/16 12:47:42 easysw Exp $". +// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.16 2002/05/24 14:19:19 easysw Exp $". // |
