summaryrefslogtreecommitdiff
path: root/src/Fl_Counter.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-10-19 17:53:09 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-10-19 17:53:09 +0000
commit512332670a87377ba6b705232d22a67681fba3ff (patch)
tree82b915d0cbcb2cefbe0fe7088dc6e5ad398e9306 /src/Fl_Counter.cxx
parent33ee986a7b69e05e1fe110c685747381bba481a9 (diff)
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
Diffstat (limited to 'src/Fl_Counter.cxx')
-rw-r--r--src/Fl_Counter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Counter.cxx b/src/Fl_Counter.cxx
index 6064f99b6..66d1a8b35 100644
--- a/src/Fl_Counter.cxx
+++ b/src/Fl_Counter.cxx
@@ -39,7 +39,7 @@ void Fl_Counter::draw() {
fl_color(active_r() ? textcolor() : inactive(textcolor()));
char str[128]; format(str);
fl_draw(str, xx[0], y(), ww[0], h(), FL_ALIGN_CENTER);
- if (!(damage()&128)) return; // only need to redraw text
+ if (!(damage()&FL_DAMAGE_ALL)) return; // only need to redraw text
if (type() == FL_NORMAL_COUNTER) {
draw_box(boxtype[1], xx[1], y(), ww[1], h(), color());