summaryrefslogtreecommitdiff
path: root/src/newgrf_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/newgrf_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/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 2d382c96f..195893db7 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -495,7 +495,7 @@ struct NewGRFWindow : public QueryStringBaseWindow {
this->InvalidateData();
if (click_count == 1) break;
}
- /* Fall through with double click. */
+ /* FALL THROUGH, with double click. */
case SNGRFS_REMOVE: { // Remove GRF
if (this->active_sel == NULL || !this->editable) break;
@@ -535,7 +535,7 @@ struct NewGRFWindow : public QueryStringBaseWindow {
this->DeleteChildWindows(WC_QUERY_STRING); // Remove the parameter query window
if (click_count == 1) break;
}
- /* Fall through with double click. */
+ /* FALL THROUGH, with double click. */
case SNGRFS_ADD: {
if (this->avail_sel == NULL || !this->editable) break;
@@ -727,13 +727,13 @@ struct NewGRFWindow : public QueryStringBaseWindow {
delete c;
}
- /* Fall through. */
+ /* FALL THROUGH */
case 4:
this->avails.ForceRebuild();
- /* Fall through. */
+ /* FALL THROUGH */
case 2:
this->preset = -1;
- /* Fall through */
+ /* FALL THROUGH */
case 3: {
int i = 0;
for (const GRFConfig *c = this->actives; c != NULL; c = c->next, i++) {}