summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 55dedea96..c2e0c3eaf 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -986,7 +986,7 @@ int Fl::handle(int e, Fl_Window* window)
switch (e) {
case FL_CLOSE:
- if (grab() || modal() && window != modal()) return 0;
+ if ( grab() || (modal() && window != modal()) ) return 0;
wi->do_callback();
return 1;