diff options
author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-14 21:45:25 +0000 |
---|---|---|
committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-14 21:45:25 +0000 |
commit | 8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 (patch) | |
tree | 92f6769d3fbb5936e32d5fb82480b776ea6fbfb9 /apps/gui/list.c | |
parent | 273fbadb5537743829f9830de5247626a11aedca (diff) | |
download | rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.tar.gz rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.zip |
FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r-- | apps/gui/list.c | 7 |
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 | ||
781 | bool 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 */ |
789 | static int simplelist_line_count = 0; | 782 | static int simplelist_line_count = 0; |
790 | static char simplelist_text[SIMPLELIST_MAX_LINES][SIMPLELIST_MAX_LINELENGTH]; | 783 | static char simplelist_text[SIMPLELIST_MAX_LINES][SIMPLELIST_MAX_LINELENGTH]; |