diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-02-26 21:10:46 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-02-26 21:10:46 +0000 |
| commit | 86d292b6c147c72802854433da6bd20db73da44c (patch) | |
| tree | a4bf88f897eab691bdc401ba5508adc137276e30 /src/Fl_Color_Chooser.cxx | |
| parent | 2668a87af7bbec1bf8a2ae971748f65885fe6fcf (diff) | |
Adding FALLTHROUGH label to a buch of case fallthroughs in order to make lint happy. STR #2285
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Color_Chooser.cxx')
| -rw-r--r-- | src/Fl_Color_Chooser.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Color_Chooser.cxx b/src/Fl_Color_Chooser.cxx index 072211b86..08c358267 100644 --- a/src/Fl_Color_Chooser.cxx +++ b/src/Fl_Color_Chooser.cxx @@ -123,7 +123,7 @@ void Fl_Color_Chooser::set_valuators() { gvalue.range(0,1); gvalue.step(1,1000); gvalue.value(g_); bvalue.range(0,1); bvalue.step(1,1000); bvalue.value(b_); break; - case M_BYTE: + case M_BYTE: /* FALLTHROUGH */ case M_HEX: rvalue.range(0,255); rvalue.step(1); rvalue.value(int(255*r_+.5)); gvalue.range(0,255); gvalue.step(1); gvalue.value(int(255*g_+.5)); @@ -233,7 +233,7 @@ int Flcc_HueBox::handle(int e) { if (Fl::event_state(FL_CTRL)) H = ih; if (c->hsv(H, S, c->value())) c->do_callback(); } return 1; - case FL_FOCUS : + case FL_FOCUS : /* FALLTHROUGH */ case FL_UNFOCUS : if (Fl::visible_focus()) { redraw(); @@ -354,7 +354,7 @@ int Flcc_ValueBox::handle(int e) { if (fabs(Yf-iv)<(3*1.0/h())) Yf = iv; if (c->hsv(c->hue(),c->saturation(),Yf)) c->do_callback(); } return 1; - case FL_FOCUS : + case FL_FOCUS : /* FALLTHROUGH */ case FL_UNFOCUS : if (Fl::visible_focus()) { redraw(); |
