consistently use signed ints for the button alignment calculation,

fixes the signed vs. unsigned int warning
This commit is contained in:
uso 2007-08-25 17:53:47 +00:00
parent 2ebde262c5
commit a0df236d50

View File

@ -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