mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 07:20:39 +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) {
|
if(box_ != NULL) {
|
||||||
box_->set_volatile(true);
|
box_->set_volatile(true);
|
||||||
const SDL_Rect rect = {
|
const SDL_Rect rect = create_rect(
|
||||||
area.x + label_area.w + border_size*2, ypos,
|
area.x + label_area.w + border_size * 2
|
||||||
textbox_width, box_->height()
|
, ypos
|
||||||
};
|
, textbox_width
|
||||||
|
, box_->height());
|
||||||
|
|
||||||
box_->set_location(rect);
|
box_->set_location(rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user