From 512332670a87377ba6b705232d22a67681fba3ff Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 19 Oct 1998 17:53:09 +0000 Subject: Added Gustavo's damage() update - now use symbolic constants for all values! git-svn-id: file:///fltk/svn/fltk/trunk@18 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Value_Output.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Value_Output.cxx') diff --git a/src/Fl_Value_Output.cxx b/src/Fl_Value_Output.cxx index 8c3f26bcd..eabad9265 100644 --- a/src/Fl_Value_Output.cxx +++ b/src/Fl_Value_Output.cxx @@ -15,7 +15,7 @@ void Fl_Value_Output::draw() { int Y = y()+Fl::box_dy(b); int W = w()-Fl::box_dw(b); int H = h()-Fl::box_dh(b); - if (damage()&~1) + if (damage()&~FL_DAMAGE_CHILD) draw_box(b, color()); else { fl_color(color()); -- cgit v1.2.3