diff options
author | terkhen <terkhen@openttd.org> | 2010-07-29 14:26:28 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-07-29 14:26:28 +0000 |
commit | 88ca183191d781effd96add853e40d37ce3a0233 (patch) | |
tree | 9820f95a2ea7ef95bf8c05fbd3c12ecccceb42f8 /src/company_gui.cpp | |
parent | 04242e19cf29aedca783f4657e2c448d40f37420 (diff) | |
download | openttd-88ca183191d781effd96add853e40d37ce3a0233.tar.xz |
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index a8a024bd6..bbaff4ec3 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -327,7 +327,7 @@ struct CompanyFinancesWindow : Window { case CFW_EXPS_PRICE2: case CFW_EXPS_PRICE3: size->height = _expenses_list_types[type].GetHeight(); - /* Fall through */ + /* FALL THROUGH */ case CFW_BALANCE_VALUE: case CFW_LOAN_VALUE: case CFW_TOTAL_VALUE: @@ -640,7 +640,7 @@ public: size->width = 0; break; } - /* Fall through */ + /* FALL THROUGH */ case SCLW_WIDGET_PRI_COL_DROPDOWN: { for (const StringID *id = _colour_dropdown; id != endof(_colour_dropdown); id++) { size->width = max(size->width, GetStringBoundingBox(*id).width + 34); @@ -1405,7 +1405,7 @@ public: /* OK button */ case SCMFW_WIDGET_ACCEPT: DoCommandP(0, 0, this->face, CMD_SET_COMPANY_MANAGER_FACE); - /* Fall-Through */ + /* FALL THROUGH */ /* Cancel button */ case SCMFW_WIDGET_CANCEL: |