Changeset - r355:d76bee5e40ce
[Not reviewed]
master
0 2 0
tron - 20 years ago 2004-11-11 23:23:42
tron@openttd.org
(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)
2 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
lang/english.txt
Show inline comments
 
@@ -765,13 +765,13 @@ STR_02DC_DISPLAY_SUBSIDIES				:{BLACK}Di
 
STR_02DD_SUBSIDIES						:Subsidies
 
STR_02DE_MAP_OF_WORLD					:Map of world
 
STR_EXTRA_VIEW_PORT						:Extra viewport
 
STR_02DF_TOWN_DIRECTORY					:Town directory
 
STR_EXTRA_VIEW_PORT_TITLE				:{WHITE}Viewport {COMMA16}
 
STR_EXTRA_VIEW_MOVE_VIEW_TO_MAIN		:{BLACK}Copy to viewport
 
STR_EXTRA_VIEW_MOVE_VIEW_TO_MAIN_TT		:{BLACK}Copy the location of the global view to this viewport
 
STR_EXTRA_VIEW_MOVE_MAIN_TO_VIEW		:{BLACK}Paste from viewport
 
STR_EXTRA_VIEW_MOVE_MAIN_TO_VIEW_TT		:{BLACK}Paste the location of this viewport to the global view
 

	
 
STR_02DF_TOWN_DIRECTORY					:Town directory
 
STR_02E0_CURRENCY_UNITS					:{BLACK}Currency units
 
STR_02E1								:{BLACK}{SKIP}{STRING}
 
STR_02E2_CURRENCY_UNITS_SELECTION		:{BLACK}Currency units selection
main_gui.c
Show inline comments
 
@@ -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(Windo
 

	
 
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)
0 comments (0 inline, 0 general)