From 25c14e4381a41c1c9aad8f3ac960348ea4e06a45 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 18 Apr 2009 09:54:53 +0000 Subject: [PATCH] Must pass rc to _sized --- Src/menu.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Src/menu.cpp b/Src/menu.cpp index 3c6f87b..5c10348 100644 --- a/Src/menu.cpp +++ b/Src/menu.cpp @@ -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);