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,10 +826,6 @@ 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,
0, 0, FULL_DISPLAY_X, FULL_DISPLAY_Y);
else
menu_init(title, &menu, menu_font, msgs, menu_init(title, &menu, menu_font, msgs,
rc->x, rc->y, rc->w, rc->h); rc->x, rc->y, rc->w, rc->h);