summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-23 14:17:31 +0000
committertruelight <truelight@openttd.org>2007-06-23 14:17:31 +0000
commit62cb041238f8948f1411827b6a2d93d9178c7627 (patch)
treeef3c8d1ba3905f756e0eea4b74f08c72a5453c5e
parent834d0cf79ec0c49c9634cca534815016765ba501 (diff)
downloadopenttd-62cb041238f8948f1411827b6a2d93d9178c7627.tar.xz
(svn r10294) -Fix [FS#914]: WKC_PAUSE didn't work in SE (+ some cosmetic) (Smoovious)
-rw-r--r--src/main_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index dbdc8aa2d..7ad547d94 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -1886,7 +1886,7 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e)
case WKC_F7: ShowPlayerStations(_local_player); break;
case WKC_F8: ShowPlayerFinances(_local_player); break;
case WKC_F9: ShowPlayerCompany(_local_player); break;
- case WKC_F10:ShowOperatingProfitGraph(); break;
+ case WKC_F10: ShowOperatingProfitGraph(); break;
case WKC_F11: ShowCompanyLeagueTable(); break;
case WKC_F12: ShowBuildIndustryWindow(); break;
case WKC_SHIFT | WKC_F1: ShowVehicleListWindow(_local_player, VEH_TRAIN); break;
@@ -1898,7 +1898,7 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e)
case WKC_SHIFT | WKC_F7: ShowBuildRailToolbar(_last_built_railtype, -1); break;
case WKC_SHIFT | WKC_F8: ShowBuildRoadToolbar(_last_built_roadtype); break;
case WKC_SHIFT | WKC_F9: ShowBuildDocksToolbar(); break;
- case WKC_SHIFT | WKC_F10:ShowBuildAirToolbar(); break;
+ case WKC_SHIFT | WKC_F10: ShowBuildAirToolbar(); break;
case WKC_SHIFT | WKC_F11: ShowBuildTreesToolbar(); break;
case WKC_SHIFT | WKC_F12: ShowMusicWindow(); break;
case WKC_CTRL | 'S': MenuClickSmallScreenshot(); break;
@@ -2091,7 +2091,7 @@ static void ScenEditToolbarWndProc(Window *w, WindowEvent *e)
case WE_KEYPRESS:
switch (e->we.keypress.keycode) {
- case WKC_F1: ToolbarPauseClick(w); break;
+ case WKC_F1: case WKC_PAUSE: ToolbarPauseClick(w); break;
case WKC_F2: ShowGameOptions(); break;
case WKC_F3: MenuClickSaveLoad(0); break;
case WKC_F4: ToolbarScenGenLand(w); break;