summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
committerterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
commit88ca183191d781effd96add853e40d37ce3a0233 (patch)
tree9820f95a2ea7ef95bf8c05fbd3c12ecccceb42f8 /src/misc_gui.cpp
parent04242e19cf29aedca783f4657e2c448d40f37420 (diff)
downloadopenttd-88ca183191d781effd96add853e40d37ce3a0233.tar.xz
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 3250a3d1b..a4b2102c8 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1340,10 +1340,10 @@ struct QueryStringWindow : public QueryStringBaseWindow
switch (widget) {
case QUERY_STR_WIDGET_DEFAULT:
this->text.buf[0] = '\0';
- /* Fallthrough */
+ /* FALL THROUGH */
case QUERY_STR_WIDGET_OK:
this->OnOk();
- /* Fallthrough */
+ /* FALL THROUGH */
case QUERY_STR_WIDGET_CANCEL:
delete this;
break;
@@ -1532,7 +1532,7 @@ struct QueryWindow : public Window {
this->proc(this->parent, true);
this->proc = NULL;
}
- /* Fallthrough */
+ /* FALL THROUGH */
case WKC_ESC:
delete this;
return ES_HANDLED;