summaryrefslogtreecommitdiff
path: root/src/Fl_Counter.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_Counter.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_Counter.cxx')
-rw-r--r--src/Fl_Counter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Counter.cxx b/src/Fl_Counter.cxx
index de83f15d5..f41189c60 100644
--- a/src/Fl_Counter.cxx
+++ b/src/Fl_Counter.cxx
@@ -165,13 +165,13 @@ int Fl_Counter::handle(int event) {
return 0;
}
// break not required because of switch...
- case FL_FOCUS :
+ case FL_FOCUS : /* FALLTHROUGH */
case FL_UNFOCUS :
if (Fl::visible_focus()) {
redraw();
return 1;
} else return 0;
- case FL_ENTER :
+ case FL_ENTER : /* FALLTHROUGH */
case FL_LEAVE :
return 1;
default: