mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-29 15:04:23 +01:00
Allow one more line to display
This commit is contained in:
parent
453db84014
commit
1102d8fdc1
2
menu.cpp
2
menu.cpp
@ -101,7 +101,7 @@ void Menu::draw(SDL_Surface *where, int x, int y, int w, int h)
|
||||
int font_height = this->font->getHeight("X");
|
||||
int line_height = (font_height + font_height / 4);
|
||||
int x_start = x;
|
||||
int entries_visible = h / line_height - 2;
|
||||
int entries_visible = h / line_height - 1;
|
||||
int start_entry_visible = 0;
|
||||
|
||||
/* No messages - nothing to draw */
|
||||
|
@ -8,6 +8,7 @@ const char **exit_dialogue_messages = (const char*[]){
|
||||
/*02*/ "#", /* Empty line */
|
||||
/*03*/ "#",
|
||||
/*04*/ "#",
|
||||
/*05*/ "#",
|
||||
/*06*/ "^|Yes|Cancel",
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user