···585585 *
586586 * The GUI_EVENT_NEED_UI_UPDATE event is registered for in list_do_action_timeout()
587587 * as a oneshot and current_lists updated. later current_lists is set to NULL
588588- * in gui_synclist_do_button() effectively disabling the callback.
588588+ * in gui_synclist_do_button() effectively disabling the callback.
589589* This is done because if something is using the list UI they *must* be calling those
590590 * two functions in the correct order or the list wont work.
591591 */
···692692 allow_wrap = false; /* Prevent list wraparound on repeating actions */
693693 /*Fallthrough*/
694694 case ACTION_STD_PREV:
695695-695695+696696 gui_list_select_at_offset(lists, -next_item_modifier, allow_wrap);
697697#ifndef HAVE_WHEEL_ACCELERATION
698698 if (button_queue_count() < FRAMEDROP_TRIGGER)
···882882 struct gui_synclist lists;
883883 int action, old_line_count = simplelist_line_count;
884884 list_get_name *getname;
885885- int line_count;
885885+ int line_count, ret = false;
886886887887 if (info->get_name)
888888 {
···971971 }
972972 else if(default_event_handler(action) == SYS_USB_CONNECTED)
973973 {
974974- gui_synclist_scroll_stop(&lists);
975975- return true;
974974+ ret = true;
975975+ break;
976976 }
977977 }
978978 talk_shutup();
···986986987987 FOR_NB_SCREENS(i)
988988 viewportmanager_theme_undo(i, false);
989989- return false;
989989+ return ret;
990990}
991991992992void simplelist_info_init(struct simplelist_info *info, char* title,