summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-08-01 20:52:11 +0000
committerterkhen <terkhen@openttd.org>2010-08-01 20:52:11 +0000
commit80c43f52e838c567a4f349a1a9d901407cbb56ef (patch)
tree6eabbbb6c6d9413f2b0fbda0f2d1c73f7e352478 /src/newgrf_gui.cpp
parent7b62e4dc8e69fa37cb5792b911105371a47cf223 (diff)
downloadopenttd-80c43f52e838c567a4f349a1a9d901407cbb56ef.tar.xz
(svn r20289) -Codechange: Unify fall through coding style.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index d769f4968..4256793c9 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -747,8 +747,9 @@ 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;
DeleteWindowByClass(WC_GRF_PARAMETERS);
@@ -787,8 +788,9 @@ struct NewGRFWindow : public QueryStringBaseWindow {
}
this->InvalidateData();
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;