From 86d292b6c147c72802854433da6bd20db73da44c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 26 Feb 2010 21:10:46 +0000 Subject: 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 --- src/Fl_Button.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Button.cxx') 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) { -- cgit v1.2.3