Pavol Rusnak 2010-04-28 17:45:08 +00:00 committed by Git OBS Bridge
parent 29cb96cda4
commit 5405d537ed
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- src/editor/ui_menus/editor_main_menu_new_map.cc
+++ src/editor/ui_menus/editor_main_menu_new_map.cc
@@ -113,7 +113,7 @@ Main_Menu_New_Map::Main_Menu_New_Map(Edi
posx, posy, width, height,
g_gr->get_picture(PicMod_UI, "pics/but1.png"),
&Main_Menu_New_Map::button_clicked, *this, 4,
- Widelands::World::World(m_worlds[m_currentworld].c_str()).get_name());
+ Widelands::World(m_worlds[m_currentworld].c_str()).get_name());
posy += height + spacing + spacing + spacing;
@@ -142,7 +142,7 @@ void Main_Menu_New_Map::button_clicked(i
if (m_currentworld == m_worlds.size())
m_currentworld = 0;
m_world->set_title
- (Widelands::World::World(m_worlds[m_currentworld].c_str()).get_name
+ (Widelands::World(m_worlds[m_currentworld].c_str()).get_name
());
break;
}

View File

@ -8,6 +8,7 @@ URL: http://www.widelands.org
Source0: http://launchpad.net/widelands/build%{version}/build%{version}/+download/%{name}-build%{version}-src.tar.bz2
Source1: %{name}.desktop
Patch0: %{name}-localedir.patch
Patch1: %{name}-constructor.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
BuildRequires: gcc-c++
BuildRequires: boost-devel
@ -52,6 +53,7 @@ Data files for Widelands.
%prep
%setup -q -n %{name}-build%{version}-src
%patch0
%patch1
%build
# recreate build_and_run.sh contents here