Last list commit for a while. fix the multi-item lists at the very end of the list

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13523 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-05-30 09:25:59 +00:00
parent 0178568325
commit dfb071d92e

View file

@ -557,7 +557,8 @@ static void gui_list_select_at_offset(struct gui_list * gui_list, int offset)
{
if (gui_list->nb_items >= nb_lines)
gui_list->start_item = gui_list->nb_items - nb_lines;
gui_list->selected_item = gui_list->nb_items - 1;
gui_list->selected_item = gui_list->nb_items -
gui_list->selected_size;
}
else
{