Allow one more line to display

This commit is contained in:
simon.kagstrom 2009-12-05 12:04:56 +00:00
parent 453db84014
commit 1102d8fdc1
2 changed files with 2 additions and 1 deletions

View File

@ -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 */

View File

@ -8,6 +8,7 @@ const char **exit_dialogue_messages = (const char*[]){
/*02*/ "#", /* Empty line */
/*03*/ "#",
/*04*/ "#",
/*05*/ "#",
/*06*/ "^|Yes|Cancel",
NULL
};