diff options
author | alberth <alberth@openttd.org> | 2010-08-01 20:58:35 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-08-01 20:58:35 +0000 |
commit | c32e35c30d3fb2910c31a0221966fcdebd3d58d0 (patch) | |
tree | 9411c381eda5dcdc381e433ccd96b5433be0d6bf /src | |
parent | 80c43f52e838c567a4f349a1a9d901407cbb56ef (diff) | |
download | openttd-c32e35c30d3fb2910c31a0221966fcdebd3d58d0.tar.xz |
(svn r20290) -Codechange: Add missing 'break' statements.
Diffstat (limited to 'src')
-rw-r--r-- | src/console_gui.cpp | 1 | ||||
-rw-r--r-- | src/order_gui.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp index d69610b26..91f40cd39 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -344,6 +344,7 @@ struct IConsoleWindow : Window } else { return ES_NOT_HANDLED; } + break; } return ES_HANDLED; } diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 650e32a68..621230adb 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -345,6 +345,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile) if (_ctrl_pressed) order.SetDepotOrderType((OrderDepotTypeFlags)(order.GetDepotOrderType() ^ ODTFB_SERVICE)); return order; } + break; default: break; |