Fix font selection.

Fixes https://github.com/libretro/RetroArch/issues/8593
This commit is contained in:
orbea 2019-04-18 11:15:05 -07:00 committed by bparker06
parent 572c16cb2a
commit dd9bde2184

View File

@ -6220,7 +6220,9 @@ static int menu_cbs_init_bind_ok_compare_type(menu_file_list_cbs_t *cbs,
case FILE_TYPE_DIRECTORY:
if (cbs->enum_idx != MSG_UNKNOWN
|| menu_label_hash == MENU_LABEL_DISK_IMAGE_APPEND
|| menu_label_hash == MENU_LABEL_SUBSYSTEM_ADD)
|| menu_label_hash == MENU_LABEL_SUBSYSTEM_ADD
|| menu_label_hash == MENU_LABEL_VIDEO_FONT_PATH
|| menu_label_hash == MENU_LABEL_XMB_FONT)
BIND_ACTION_OK(cbs, action_ok_directory_push);
else
BIND_ACTION_OK(cbs, action_ok_push_random_dir);