From 7706e347215a26fa40b8fd086cea8d34b10001b3 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 27 Mar 2009 10:20:46 +0100 Subject: more int->bool --- src/gipfel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gipfel.cxx') 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 *) { -- cgit v1.2.3