diff options
author | alberth <alberth@openttd.org> | 2010-12-21 15:23:54 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-12-21 15:23:54 +0000 |
commit | b633ffaa1d58a8ad0f0e9aa34982877c8cf552a2 (patch) | |
tree | 134c9a17f2148602117ae73920f7987844082a7b /src/rail_gui.cpp | |
parent | 884b44990a7effe740e705a0183d28f38bfa2b9d (diff) | |
download | openttd-b633ffaa1d58a8ad0f0e9aa34982877c8cf552a2.tar.xz |
(svn r21571) -Codechange: Having a break after a return is no good.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 82c2ce84d..3cedda98a 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -680,7 +680,7 @@ struct BuildRailToolbarWindow : Window { /* If it is the removal button that has been clicked, do nothing, * as it is up to the other buttons to drive removal status */ return; - break; + case RTW_BUILD_NS: case RTW_BUILD_X: case RTW_BUILD_EW: |