diff options
Diffstat (limited to 'src/fl_ask.cxx')
| -rw-r--r-- | src/fl_ask.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/fl_ask.cxx b/src/fl_ask.cxx index 4e1a6ab74..87e8b1427 100644 --- a/src/fl_ask.cxx +++ b/src/fl_ask.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_ask.cxx,v 1.8.2.8.2.8 2002/04/09 09:38:15 easysw Exp $" +// "$Id: fl_ask.cxx,v 1.8.2.8.2.9 2002/06/06 14:22:05 easysw Exp $" // // Standard dialog functions for the Fast Light Tool Kit (FLTK). // @@ -108,6 +108,10 @@ void resizeform() { message_h = 30; fl_font(button[0]->labelfont(), button[0]->labelsize()); + + memset(button_w, 0, sizeof(button_w)); + memset(button_h, 0, sizeof(button_h)); + for (max_h = 25, i = 0; i < 3; i ++) if (button[i]->visible()) { @@ -122,11 +126,6 @@ void resizeform() { if (button_h[i] > max_h) max_h = button_h[i]; } - else - { - button_w[i] = 0; - button_h[i] = 0; - } if (input->visible()) icon_size = message_h + 25; else icon_size = message_h; @@ -343,5 +342,5 @@ const char *fl_password(const char *fmt, const char *defstr, ...) { } // -// End of "$Id: fl_ask.cxx,v 1.8.2.8.2.8 2002/04/09 09:38:15 easysw Exp $". +// End of "$Id: fl_ask.cxx,v 1.8.2.8.2.9 2002/06/06 14:22:05 easysw Exp $". // |
