Must pass rc to _sized

This commit is contained in:
simon.kagstrom 2009-04-18 09:54:53 +00:00
parent 89be22ac69
commit 25c14e4381

View File

@ -826,12 +826,8 @@ int menu_select_sized(char *title, SDL_Rect *rc, const char **msgs, int *submenu
else else
info = true; info = true;
if (rc == NULL) menu_init(title, &menu, menu_font, msgs,
menu_init(title, &menu, menu_font, msgs, rc->x, rc->y, rc->w, rc->h);
0, 0, FULL_DISPLAY_X, FULL_DISPLAY_Y);
else
menu_init(title, &menu, menu_font, msgs,
rc->x, rc->y, rc->w, rc->h);
if (sel >= 0) if (sel >= 0)
select_one(&menu, sel); select_one(&menu, sel);