summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index bb5d1a922e..d15948e97a 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -800,13 +800,6 @@ bool list_do_action(int context, int timeout,
800 return gui_synclist_do_button(lists, action); 800 return gui_synclist_do_button(lists, action);
801} 801}
802 802
803bool gui_synclist_item_is_onscreen(struct gui_synclist *lists,
804 enum screen_type screen, int item)
805{
806 int nb_lines = list_get_nb_lines(lists, screen);
807 return (unsigned)(item - lists->start_item[screen]) < (unsigned) nb_lines;
808}
809
810/* Simple use list implementation */ 803/* Simple use list implementation */
811static int simplelist_line_count = 0, simplelist_line_remaining; 804static int simplelist_line_count = 0, simplelist_line_remaining;
812static int simplelist_line_pos; 805static int simplelist_line_pos;