From b43620088738c58d8615d4f8d7c8243f56cc3fa5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 16 Jun 2016 22:43:45 +0200 Subject: [PATCH] It should be possible now to select input settings when user language is not English --- menu/menu_displaylist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 2aceec9729..a16244d923 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3725,8 +3725,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data) case DISPLAYLIST_USER_BINDS_LIST: { char lbl[PATH_MAX_LENGTH] = {0}; + unsigned val = atoi(info->path); snprintf(lbl, sizeof(lbl), - "Input User %.1s Binds", info->path); + menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_INPUT_USER_BINDS), val); ret = menu_displaylist_parse_settings(menu, info, lbl, PARSE_NONE, true); info->need_refresh = true;