Merge pull request #1844 from heuripedes/master

(Menu) Fix some menu_entries_get_start() checks
This commit is contained in:
Twinaphex 2015-06-22 19:51:26 +02:00
commit a620beff0c
2 changed files with 2 additions and 2 deletions

View File

@ -673,7 +673,7 @@ static void glui_navigation_set(bool scroll)
else
menu_entries_set_start(end - num_lines);
if (menu_entries_get_start() > 5)
if (menu_entries_get_start() >= 5)
menu_entries_set_start(menu_entries_get_start() - 5);
}

View File

@ -1348,7 +1348,7 @@ static void xmb_render(void)
}
}
if (menu_entries_get_start() > 5)
if (menu_entries_get_start() >= 5)
menu_entries_set_start(menu_entries_get_start() - 5);
anim->is_active = false;