$OpenBSD: patch-tables_cc,v 1.1.1.1 2001/04/02 15:14:51 wilfried Exp $ --- tables.cc.orig Wed Dec 27 13:44:44 2000 +++ tables.cc Sat Feb 10 19:52:57 2001 @@ -2,7 +2,7 @@ #include "tables.h" extern unsigned int num_of_tables; -static Fl_Window *w_tables=(Fl_Window *)0; static int static_int=0; +static Fl_Window *w_tables=(Fl_Window *)0; static volatile int static_int=0; static vector lampice; static Fl_Light_Button *b_all=(Fl_Light_Button*)0; #define max_height 400 @@ -105,6 +105,6 @@ void get_tables(Fl_Button *, void *) { o->end(); if (visina > max_height) o->resizable(scroll); // o->size_range(w_tables->w(),w_tables->h()); - w_tables->show(); static_int=1; while (w_tables->visible()) Fl::wait(); + w_tables->show(); static_int=1; while (static_int && w_tables->visible()) Fl::wait(); } }