d3e39d11da
graphical sql client for MySQL
20 lines
648 B
Plaintext
20 lines
648 B
Plaintext
$OpenBSD: patch-getvars_cc,v 1.1.1.1 2001/04/02 15:14:52 wilfried Exp $
|
|
--- getvars.cc.orig Wed Dec 27 13:44:43 2000
|
|
+++ getvars.cc Sat Feb 10 19:20:55 2001
|
|
@@ -2,7 +2,7 @@
|
|
|
|
#include "getvars.h"
|
|
|
|
-static Fl_Window *Vars=(Fl_Window *)0; static int static_int=0;
|
|
+static Fl_Window *Vars=(Fl_Window *)0; static volatile int static_int=0;
|
|
static vector <Fl_Input *> values;
|
|
static Fl_Return_Button *b_OKVars=(Fl_Return_Button *)0;
|
|
|
|
@@ -74,5 +74,5 @@ void get_vars(int *integer) {
|
|
o->end(); static_int=1;
|
|
}
|
|
/*Vars->set_modal();*/ Vars->show();
|
|
- while (Vars->visible()) Fl::wait();
|
|
+ while (static_int && Vars->visible()) Fl::wait();
|
|
}
|