From fbbb4f590d64a668f116c971c6700b7fdc90ea09 Mon Sep 17 00:00:00 2001 From: LiquidFenrir Date: Mon, 1 Jan 2018 23:37:14 +0100 Subject: [PATCH] fix jump menu scrolling bug leave everything to handle_scrolling --- source/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/main.c b/source/main.c index aa8f9d3..8df1ebe 100644 --- a/source/main.c +++ b/source/main.c @@ -184,9 +184,6 @@ static void jump_menu(Entry_List_s * list) if(button == SWKBD_BUTTON_CONFIRM) { list->selected_entry = atoi(numbuf) - 1; - list->scroll = list->selected_entry; - if(list->scroll >= list->entries_count - ENTRIES_PER_SCREEN) - list->scroll = list->entries_count - ENTRIES_PER_SCREEN - 1; } }