mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 19:39:24 +01:00
Must pass rc to _sized
This commit is contained in:
parent
89be22ac69
commit
25c14e4381
@ -826,12 +826,8 @@ int menu_select_sized(char *title, SDL_Rect *rc, const char **msgs, int *submenu
|
||||
else
|
||||
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,
|
||||
rc->x, rc->y, rc->w, rc->h);
|
||||
menu_init(title, &menu, menu_font, msgs,
|
||||
rc->x, rc->y, rc->w, rc->h);
|
||||
|
||||
if (sel >= 0)
|
||||
select_one(&menu, sel);
|
||||
|
Loading…
Reference in New Issue
Block a user