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 4f1d3833d6..c53a1f559c 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -778,13 +778,6 @@ bool list_do_action(int context, int timeout,
778 return gui_synclist_do_button(lists, action, wrap); 778 return gui_synclist_do_button(lists, action, wrap);
779} 779}
780 780
781bool gui_synclist_item_is_onscreen(struct gui_synclist *lists,
782 enum screen_type screen, int item)
783{
784 int nb_lines = list_get_nb_lines(lists, screen);
785 return (unsigned)(item - lists->start_item[screen]) < (unsigned) nb_lines;
786}
787
788/* Simple use list implementation */ 781/* Simple use list implementation */
789static int simplelist_line_count = 0; 782static int simplelist_line_count = 0;
790static char simplelist_text[SIMPLELIST_MAX_LINES][SIMPLELIST_MAX_LINELENGTH]; 783static char simplelist_text[SIMPLELIST_MAX_LINES][SIMPLELIST_MAX_LINELENGTH];