mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-29 23:14:23 +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
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user