diff options
-rw-r--r-- | lang/english.txt | 1 | ||||
-rw-r--r-- | main_gui.c | 11 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lang/english.txt b/lang/english.txt index 150e53c5d..39d00c9ae 100644 --- a/lang/english.txt +++ b/lang/english.txt @@ -733,6 +733,7 @@ STR_TRANSPARENT_SIGNS :{SETX 12}Transp ############ range for menu starts STR_02D5_LAND_BLOCK_INFO :Land area information STR_02D6 : +STR_CONSOLE_SETTING :Toggle Console STR_02D7_SCREENSHOT_CTRL_S :Screenshot (Ctrl-S) STR_02D8_GIANT_SCREENSHOT_CTRL_G :Giant Screenshot (Ctrl-G) STR_02D9_ABOUT_OPENTTD :About 'OpenTTD' diff --git a/main_gui.c b/main_gui.c index d599bc4b1..2828386f4 100644 --- a/main_gui.c +++ b/main_gui.c @@ -436,11 +436,12 @@ static void MenuClickNewspaper(int index) static void MenuClickHelp(int index) { - switch(index) { + switch (index) { case 0: PlaceLandBlockInfo(); break; - case 2: _make_screenshot = 1; break; - case 3: _make_screenshot = 2; break; - case 4: ShowAboutWindow(); break; + case 2: IConsoleSwitch(); break; + case 3: _make_screenshot = 1; break; + case 4: _make_screenshot = 2; break; + case 5: ShowAboutWindow(); break; } } @@ -980,7 +981,7 @@ static void ToolbarNewspaperClick(Window *w) static void ToolbarHelpClick(Window *w) { - PopupMainToolbMenu(w, 0x1E0, 26, STR_02D5_LAND_BLOCK_INFO, 5, 0); + PopupMainToolbMenu(w, 0x1E0, 26, STR_02D5_LAND_BLOCK_INFO, 6, 0); } static void ToolbarOptionsClick(Window *w) |