Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 320207
Collapse All | Expand All

(-)widelands.orig/src/editor/ui_menus/editor_main_menu_new_map.cc (-2 / +2 lines)
Lines 113-119 Link Here
113
		 posx, posy, width, height,
113
		 posx, posy, width, height,
114
		 g_gr->get_picture(PicMod_UI, "pics/but1.png"),
114
		 g_gr->get_picture(PicMod_UI, "pics/but1.png"),
115
		 &Main_Menu_New_Map::button_clicked, *this, 4,
115
		 &Main_Menu_New_Map::button_clicked, *this, 4,
116
		 Widelands::World::World(m_worlds[m_currentworld].c_str()).get_name());
116
		 Widelands::World(m_worlds[m_currentworld].c_str()).get_name());
117
117
118
	posy += height + spacing + spacing + spacing;
118
	posy += height + spacing + spacing + spacing;
119
119
Lines 142-148 Link Here
142
		if (m_currentworld == m_worlds.size())
142
		if (m_currentworld == m_worlds.size())
143
			m_currentworld = 0;
143
			m_currentworld = 0;
144
		m_world->set_title
144
		m_world->set_title
145
			(Widelands::World::World(m_worlds[m_currentworld].c_str()).get_name
145
			(Widelands::World(m_worlds[m_currentworld].c_str()).get_name
146
			 	());
146
			 	());
147
		break;
147
		break;
148
	}
148
	}
(-)widelands.orig/src/editor/ui_menus/editor_main_menu_random_map.cc (-2 / +2 lines)
Lines 251-257 Link Here
251
		 posx, posy, width, height,
251
		 posx, posy, width, height,
252
		 g_gr->get_picture(PicMod_UI, "pics/but1.png"),
252
		 g_gr->get_picture(PicMod_UI, "pics/but1.png"),
253
		 &Main_Menu_New_Random_Map::button_clicked, *this, 8,
253
		 &Main_Menu_New_Random_Map::button_clicked, *this, 8,
254
		 Widelands::World::World(m_worlds[m_currentworld].c_str()).get_name());
254
		 Widelands::World(m_worlds[m_currentworld].c_str()).get_name());
255
255
256
	posy += height + spacing + spacing + spacing;
256
	posy += height + spacing + spacing + spacing;
257
257
Lines 322-328 Link Here
322
		if (m_currentworld == m_worlds.size())
322
		if (m_currentworld == m_worlds.size())
323
			m_currentworld = 0;
323
			m_currentworld = 0;
324
		m_world->set_title
324
		m_world->set_title
325
			(Widelands::World::World(m_worlds[m_currentworld].c_str()).get_name());
325
			(Widelands::World(m_worlds[m_currentworld].c_str()).get_name());
326
		break;
326
		break;
327
	case 9:
327
	case 9:
328
		break;
328
		break;

Return to bug 320207