summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-07-23 16:48:19 +0000
committertruelight <truelight@openttd.org>2007-07-23 16:48:19 +0000
commit155b912ebb2fd9e999fcd322415d5052f2ec1b08 (patch)
tree619d80c02149927fa4b293d8720d64b59d93b1ac /src/main_gui.cpp
parentef0be0e1dc205b5991f6896c86d921bc1934aecb (diff)
downloadopenttd-155b912ebb2fd9e999fcd322415d5052f2ec1b08.tar.xz
(svn r10663) -Fix r10662: bad me, didn't comply with coding style, as penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p)
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index bbf930f2a..5644323c4 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -1649,13 +1649,13 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e)
case WKC_SHIFT | WKC_F2: ShowVehicleListWindow(_local_player, VEH_ROAD); break;
case WKC_SHIFT | WKC_F3: ShowVehicleListWindow(_local_player, VEH_SHIP); break;
case WKC_SHIFT | WKC_F4: ShowVehicleListWindow(_local_player, VEH_AIRCRAFT); break;
- case WKC_NUM_PLUS: /* Fall through */
- case WKC_EQUALS: /* Fall through */
- case WKC_SHIFT | WKC_EQUALS: /* Fall through */
+ case WKC_NUM_PLUS: // Fall through
+ case WKC_EQUALS: // Fall through
+ case WKC_SHIFT | WKC_EQUALS: // Fall through
case WKC_SHIFT | WKC_F5: ToolbarZoomInClick(w); break;
- case WKC_NUM_MINUS: /* Fall through */
- case WKC_MINUS: /* Fall through */
- case WKC_SHIFT | WKC_MINUS: /* Fall through */
+ case WKC_NUM_MINUS: // Fall through
+ case WKC_MINUS: // Fall through
+ case WKC_SHIFT | WKC_MINUS: // Fall through
case WKC_SHIFT | WKC_F6: ToolbarZoomOutClick(w); break;
case WKC_SHIFT | WKC_F7: if (CanBuildVehicleInfrastructure(VEH_TRAIN)) ShowBuildRailToolbar(_last_built_railtype, -1); break;
case WKC_SHIFT | WKC_F8: ShowBuildRoadToolbar(_last_built_roadtype); break;
@@ -1666,7 +1666,7 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e)
case WKC_CTRL | 'S': MenuClickSmallScreenshot(); break;
case WKC_CTRL | 'G': MenuClickWorldScreenshot(); break;
case WKC_CTRL | WKC_ALT | 'C': if (!_networking) ShowCheatWindow(); break;
- case 'A': if (CanBuildVehicleInfrastructure(VEH_TRAIN)) ShowBuildRailToolbar(_last_built_railtype, 4); break; /* Invoke Autorail */
+ case 'A': if (CanBuildVehicleInfrastructure(VEH_TRAIN)) ShowBuildRailToolbar(_last_built_railtype, 4); break; // Invoke Autorail
case 'L': ShowTerraformToolbar(); break;
case 'M': ShowSmallMap(); break;
case 'V': ShowExtraViewPortWindow(); break;