Fix highlighting bug

This commit is contained in:
simon.kagstrom 2010-01-24 08:45:25 +00:00
parent 3272171245
commit e334caab9b

View File

@ -93,7 +93,7 @@ void Menu::draw(SDL_Surface *where, int x, int y, int w, int h)
entries_visible = this->n_entries - start_entry_visible; entries_visible = this->n_entries - start_entry_visible;
for (int i = start_entry_visible; for (int i = start_entry_visible;
i < start_entry_visible + entries_visible; i++) i <= start_entry_visible + entries_visible; i++)
{ {
const char *msg = this->pp_msgs[i]; const char *msg = this->pp_msgs[i];
int cur_y; int cur_y;