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_Button.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_Button.cxx')
| -rw-r--r-- | src/Fl_Button.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Button.cxx b/src/Fl_Button.cxx index 99e4589b3..be41a01a4 100644 --- a/src/Fl_Button.cxx +++ b/src/Fl_Button.cxx @@ -84,7 +84,7 @@ void Fl_Button::draw() { int Fl_Button::handle(int event) { int newval; switch (event) { - case FL_ENTER: + case FL_ENTER: /* FALLTHROUGH */ case FL_LEAVE: // if ((value_?selection_color():color())==FL_GRAY) redraw(); return 1; @@ -143,7 +143,7 @@ int Fl_Button::handle(int event) { do_callback(); } else if (when() & FL_WHEN_RELEASE) do_callback(); return 1; - case FL_FOCUS : + case FL_FOCUS : /* FALLTHROUGH */ case FL_UNFOCUS : if (Fl::visible_focus()) { if (box() == FL_NO_BOX) { |
