diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 11:52:30 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-05 11:22:34 -0400 |
commit | ff378deb69951a53b866f3d3c6ee13022e520436 (patch) | |
tree | 4e608fc9004d225b1121e3545642ab56186d0c0a /apps/menu.c | |
parent | ead172c05d57568d201709c5fac77cbb8982bbd0 (diff) | |
download | rockbox-ff378deb69951a53b866f3d3c6ee13022e520436.tar.gz rockbox-ff378deb69951a53b866f3d3c6ee13022e520436.zip |
gui: Remove gui_synclist_limit_scroll()
Since gui_synclist_do_button() overrides the setting at runtime
there is no reason to have a public API call to set it. Really
it should be a local variable, but it will be simpler to do that
after refactoring how list wraparound behavior is handled.
Change-Id: Id09d42197814102693752a9f64db8325118ca796
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c index ab5578dede..fd3c041e36 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -260,7 +260,6 @@ static int init_menu_lists(const struct menu_item_ex *menu, | |||
260 | if(global_settings.talk_menu) | 260 | if(global_settings.talk_menu) |
261 | gui_synclist_set_voice_callback(lists, talk_menu_item); | 261 | gui_synclist_set_voice_callback(lists, talk_menu_item); |
262 | gui_synclist_set_nb_items(lists,current_subitems_count); | 262 | gui_synclist_set_nb_items(lists,current_subitems_count); |
263 | gui_synclist_limit_scroll(lists,true); | ||
264 | gui_synclist_select_item(lists, find_menu_selection(selected)); | 263 | gui_synclist_select_item(lists, find_menu_selection(selected)); |
265 | 264 | ||
266 | get_menu_callback(menu,&menu_callback); | 265 | get_menu_callback(menu,&menu_callback); |