summaryrefslogtreecommitdiff
path: root/src/Fl_Group.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-02-26 21:10:46 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-02-26 21:10:46 +0000
commit86d292b6c147c72802854433da6bd20db73da44c (patch)
treea4bf88f897eab691bdc401ba5508adc137276e30 /src/Fl_Group.cxx
parent2668a87af7bbec1bf8a2ae971748f65885fe6fcf (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_Group.cxx')
-rw-r--r--src/Fl_Group.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx
index 329a8723b..a5ca1739b 100644
--- a/src/Fl_Group.cxx
+++ b/src/Fl_Group.cxx
@@ -102,7 +102,7 @@ static int send(Fl_Widget* o, int event) {
if (o->type() < FL_WINDOW) return o->handle(event);
switch ( event )
{
- case FL_DND_ENTER:
+ case FL_DND_ENTER: /* FALLTHROUGH */
case FL_DND_DRAG:
// figure out correct type of event:
event = (o->contains(Fl::belowmouse())) ? FL_DND_DRAG : FL_DND_ENTER;
@@ -114,7 +114,7 @@ static int send(Fl_Widget* o, int event) {
Fl::e_x = save_x;
switch ( event )
{
- case FL_ENTER:
+ case FL_ENTER: /* FALLTHROUGH */
case FL_DND_ENTER:
// Successful completion of FL_ENTER means the widget is now the
// belowmouse widget, but only call Fl::belowmouse if the child