diff options
Diffstat (limited to 'apps/gui/bitmap')
-rw-r--r-- | apps/gui/bitmap/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 6f6a8c1f7f..a82595fb37 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c | |||
@@ -734,7 +734,7 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * list) | |||
734 | if (list_display_title(list, screen)) | 734 | if (list_display_title(list, screen)) |
735 | line -= 1; /* adjust for the list title */ | 735 | line -= 1; /* adjust for the list title */ |
736 | } | 736 | } |
737 | if (line >= list->nb_items) | 737 | if (list_start_item+line >= list->nb_items) |
738 | return ACTION_NONE; | 738 | return ACTION_NONE; |
739 | list->selected_item = list_start_item+line; | 739 | list->selected_item = list_start_item+line; |
740 | 740 | ||