Make Wesnoth more compatible with C++0x (g++-4.5).
This commit is contained in:
parent
5e60911c5f
commit
96b609543f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue