summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index a8cc29d52..00ecaf788 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -1806,7 +1806,7 @@ bool Fl::option(Fl_Option opt)
}
if (opt<0 || opt>=OPTION_LAST)
return false;
- return (bool)options_[opt];
+ return (bool)(options_[opt]!=0);
}
/**