summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 4c76e40..879a60a 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -199,7 +199,7 @@ void proj_cb(Fl_Value_Input* o, void*d) {
}
void hidden_cb(Fl_Menu_* o, void*d) {
- gipf->set_show_hidden(o->mvalue()->value());
+ gipf->set_show_hidden(o->mvalue()->value() != 0);
}
void comp_cb(Fl_Widget *, void *) {