summaryrefslogtreecommitdiff
path: root/src/window.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/window.cpp
parent7b62e4dc8e69fa37cb5792b911105371a47cf223 (diff)
downloadopenttd-80c43f52e838c567a4f349a1a9d901407cbb56ef.tar.xz
(svn r20289) -Codechange: Unify fall through coding style.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index c1198a0bd..3081bc268 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -2247,8 +2247,8 @@ static void MouseLoop(MouseClick click, int mousewheel)
if (!scrollwheel_scrolling || w == NULL || w->window_class != WC_SMALLMAP) break;
/* We try to use the scrollwheel to scroll since we didn't touch any of the buttons.
* Simulate a right button click so we can get started. */
+ /* FALL THROUGH */
- /* fallthough */
case MC_RIGHT: DispatchRightClickEvent(w, x - w->left, y - w->top); break;
case MC_HOVER: DispatchHoverEvent(w, x - w->left, y - w->top); break;