Prevent invoking of menu_setting_get_label (expensive function)

when browsing Download Content
This commit is contained in:
twinaphex 2016-10-23 19:31:48 +02:00
parent 79e6a909e5
commit 1dd30345e4

View File

@ -1769,6 +1769,10 @@ static int menu_cbs_init_bind_get_string_representation_compare_type(
case 31: /* Database entry */
BIND_ACTION_GET_VALUE(cbs, menu_action_setting_disp_set_label_db_entry);
break;
case 25: /* URL directory entries */
case 26: /* URL entries */
BIND_ACTION_GET_VALUE(cbs, menu_action_setting_disp_set_label_entry);
break;
case 32: /* Recent history entry */
case 65535: /* System info entry */
BIND_ACTION_GET_VALUE(cbs, menu_action_setting_disp_set_label_entry);