summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-11-11 23:23:42 +0000
committertron <tron@openttd.org>2004-11-11 23:23:42 +0000
commit5d6c0a82204cc3ba04fe7a340260f59d10da29fa (patch)
treed79c283f53eced48437fc156b46361d5d9b65283 /main_gui.c
parent65058d0d57ebe6cce1872440b2327b47324831e4 (diff)
downloadopenttd-5d6c0a82204cc3ba04fe7a340260f59d10da29fa.tar.xz
(svn r543) -Fix: [ 1064742 ] Editor Map-Menu wrong String
The fix is a bit ugly, but this is due to limitations in the dropdown menu handling (the strings have to be contiguous)
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c
index 3f927aa3a..b53947dfd 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -172,7 +172,8 @@ void MenuClickScenMap(int index)
{
switch(index) {
case 0: ShowSmallMap(); break;
- case 1: ShowTownDirectory(); break;
+ case 1: ShowExtraViewPortWindow(); break;
+ case 2: ShowTownDirectory(); break;
}
}
@@ -884,7 +885,7 @@ static void ToolbarScenDateForward(Window *w)
static void ToolbarScenMapTownDir(Window *w)
{
- PopupMainToolbMenu(w, 0x16A, 8 | (17<<8), STR_02DE_MAP_OF_WORLD, 2);
+ PopupMainToolbMenu(w, 0x16A, 8 | (17<<8), STR_02DE_MAP_OF_WORLD, 3);
}
static void ToolbarScenZoomIn(Window *w)