Commit bf3f7a6b authored by alex@thinkpad's avatar alex@thinkpad
Browse files

Config options: fix issue #2892

(custom presets not appearing in menu)

--HG--
branch : lua_fix
parent 61c6a87770fc
......@@ -658,7 +658,7 @@ static void config_preset_scan()
}
/* update the Config Presets menu */
cfg_menus[0].children[0].max = config_preset_num - 1;
cfg_menus[0].children[1].max = config_preset_num - 1;
}
static MENU_SELECT_FUNC(config_save_select)
......@@ -668,7 +668,7 @@ static MENU_SELECT_FUNC(config_save_select)
static MENU_SELECT_FUNC(config_preset_toggle)
{
menu_numeric_toggle(&config_new_preset_index, delta, 0, config_preset_num);
menu_numeric_toggle(&config_new_preset_index, delta, 0, config_preset_num - 1);
if (!config_new_preset_index)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment