diff options
author | J0an Josep <juanjo.ng.83@gmail.com> | 2017-08-15 17:56:34 +0200 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-04-30 21:52:40 +0200 |
commit | cfb8092397709fe2276d8a5c5386c334b0a9199e (patch) | |
tree | 714fa04d7b38f6e37f518a33ed3d38a67cfeca4b /src/newgrf_gui.cpp | |
parent | 3f40cd505db78932cd355711d6294e6dc4446410 (diff) | |
download | openttd-cfb8092397709fe2276d8a5c5386c334b0a9199e.tar.xz |
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index c0aa160c2..d71e052da 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1033,8 +1033,8 @@ struct NewGRFWindow : public Window, NewGRFScanCallback { break; } /* With double click, continue */ + FALLTHROUGH; } - FALLTHROUGH; case WID_NS_REMOVE: { // Remove GRF if (this->active_sel == NULL || !this->editable) break; @@ -1089,8 +1089,8 @@ struct NewGRFWindow : public Window, NewGRFScanCallback { break; } /* With double click, continue */ + FALLTHROUGH; } - FALLTHROUGH; case WID_NS_ADD: if (this->avail_sel == NULL || !this->editable || HasBit(this->avail_sel->flags, GCF_INVALID)) break; |