mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 02:23:16 +00:00
Make Wesnoth more compatible with C++0x (g++-4.5).
This commit is contained in:
parent
3e786b6a24
commit
5e3c022153
@ -86,10 +86,12 @@ namespace gui{
|
||||
|
||||
if(box_ != NULL) {
|
||||
box_->set_volatile(true);
|
||||
const SDL_Rect rect = {
|
||||
area.x + label_area.w + border_size*2, ypos,
|
||||
textbox_width, box_->height()
|
||||
};
|
||||
const SDL_Rect rect = create_rect(
|
||||
area.x + label_area.w + border_size * 2
|
||||
, ypos
|
||||
, textbox_width
|
||||
, box_->height());
|
||||
|
||||
box_->set_location(rect);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user