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/town_gui.cpp | |
parent | 3f40cd505db78932cd355711d6294e6dc4446410 (diff) | |
download | openttd-cfb8092397709fe2276d8a5c5386c334b0a9199e.tar.xz |
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 696b71afd..a87c29367 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -269,8 +269,8 @@ public: } /* When double-clicking, continue */ if (click_count == 1 || y < 0) break; + FALLTHROUGH; } - FALLTHROUGH; case WID_TA_EXECUTE: DoCommandP(this->town->xy, this->window_number, this->sel_index, CMD_DO_TOWN_ACTION | CMD_MSG(STR_ERROR_CAN_T_DO_THIS)); |