This commit is contained in:
twinaphex 2016-09-15 20:40:19 +02:00
parent 814eb5b905
commit 4c702c2d36
2 changed files with 2 additions and 3 deletions

View File

@ -80,8 +80,7 @@ enum menu_input_ctl_state
MENU_INPUT_CTL_BIND_NONE,
MENU_INPUT_CTL_BIND_SINGLE,
MENU_INPUT_CTL_BIND_ALL,
MENU_INPUT_CTL_BIND_ITERATE,
MENU_INPUT_CTL_BIND_SET_MIN_MAX
MENU_INPUT_CTL_BIND_ITERATE
};
typedef struct menu_input_ctx_hitbox

View File

@ -1296,7 +1296,7 @@ static int setting_action_ok_bind_defaults(void *data, bool wraparound)
lim.min = MENU_SETTINGS_BIND_BEGIN;
lim.max = MENU_SETTINGS_BIND_LAST;
menu_input_ctl(MENU_INPUT_CTL_BIND_SET_MIN_MAX, &lim);
menu_input_key_bind_set_min_max(&lim);
for (i = MENU_SETTINGS_BIND_BEGIN;
i <= MENU_SETTINGS_BIND_LAST; i++, target++)