Remove duplicate function

This commit is contained in:
twinaphex 2016-10-25 23:32:18 +02:00
parent 39ad8ff865
commit 4ec356d5c1

View File

@ -490,12 +490,6 @@ static int action_get_title_font_path(const char *path, const char *label,
return fill_title(s, "Font", path, len);
}
static int action_get_xmb_font_path(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
return fill_title(s, "Font", path, len);
}
static int action_get_title_video_shader_preset(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
@ -1316,10 +1310,8 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
BIND_ACTION_GET_TITLE(cbs, action_get_title_overlay);
break;
case MENU_ENUM_LABEL_VIDEO_FONT_PATH:
BIND_ACTION_GET_TITLE(cbs, action_get_title_font_path);
break;
case MENU_ENUM_LABEL_XMB_FONT:
BIND_ACTION_GET_TITLE(cbs, action_get_xmb_font_path);
BIND_ACTION_GET_TITLE(cbs, action_get_title_font_path);
break;
case MENU_ENUM_LABEL_VIDEO_FILTER:
BIND_ACTION_GET_TITLE(cbs, action_get_title_video_filter);
@ -1599,10 +1591,8 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
BIND_ACTION_GET_TITLE(cbs, action_get_title_overlay);
break;
case MENU_LABEL_VIDEO_FONT_PATH:
BIND_ACTION_GET_TITLE(cbs, action_get_title_font_path);
break;
case MENU_LABEL_XMB_FONT:
BIND_ACTION_GET_TITLE(cbs, action_get_xmb_font_path);
BIND_ACTION_GET_TITLE(cbs, action_get_title_font_path);
break;
case MENU_LABEL_VIDEO_FILTER:
BIND_ACTION_GET_TITLE(cbs, action_get_title_video_filter);