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_Menu_Button.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Menu_Button.cxx') diff --git a/src/Fl_Menu_Button.cxx b/src/Fl_Menu_Button.cxx index 0ae69de51..438383115 100644 --- a/src/Fl_Menu_Button.cxx +++ b/src/Fl_Menu_Button.cxx @@ -73,7 +73,7 @@ const Fl_Menu_Item* Fl_Menu_Button::popup() { int Fl_Menu_Button::handle(int e) { if (!menu() || !menu()->text) return 0; switch (e) { - case FL_ENTER: + case FL_ENTER: /* FALLTHROUGH */ case FL_LEAVE: return (box() && !type()) ? 1 : 0; case FL_PUSH: @@ -95,7 +95,7 @@ int Fl_Menu_Button::handle(int e) { case FL_SHORTCUT: if (Fl_Widget::test_shortcut()) {popup(); return 1;} return test_shortcut() != 0; - case FL_FOCUS: + case FL_FOCUS: /* FALLTHROUGH */ case FL_UNFOCUS: if (box() && Fl::visible_focus()) { redraw(); -- cgit v1.2.3