mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 08:59:07 +00:00
consistently use signed ints for the button alignment calculation,
fixes the signed vs. unsigned int warning
This commit is contained in:
parent
2ebde262c5
commit
a0df236d50
@ -566,13 +566,13 @@ void lobby::layout_children(const SDL_Rect& rect)
|
|||||||
ui::layout_children(rect);
|
ui::layout_children(rect);
|
||||||
|
|
||||||
#ifdef USE_TINY_GUI
|
#ifdef USE_TINY_GUI
|
||||||
unsigned int btn_space = 3;
|
int btn_space = 3;
|
||||||
unsigned int xborder = 0;
|
int xborder = 0;
|
||||||
unsigned int yborder = 0;
|
int yborder = 0;
|
||||||
#else
|
#else
|
||||||
unsigned int btn_space = 5;
|
int btn_space = 5;
|
||||||
unsigned int xborder = 10;
|
int xborder = 10;
|
||||||
unsigned int yborder = 7;
|
int yborder = 7;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// align to the left border
|
// align to the left border
|
||||||
|
Loading…
x
Reference in New Issue
Block a user