Make Wesnoth more compatible with C++0x (g++-4.5).

This commit is contained in:
Mark de Wever 2010-06-12 16:02:00 +00:00
parent 5e60911c5f
commit 96b609543f

View file

@ -114,7 +114,7 @@ public:
{ return theme_.unit_image_location(screen_area()); }
SDL_Rect screen_area() const
{ const SDL_Rect res = {0,0,w(),h()}; return res; }
{ return create_rect(0, 0, w(), h()); }
/**
* Returns the maximum area used for the map