summaryrefslogtreecommitdiff
path: root/apps/gui/option_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/option_select.c')
-rw-r--r--apps/gui/option_select.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index 0414b70801..7550b8b7d4 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -256,9 +256,15 @@ static int selection_to_val(struct settings_list *setting, int selection)
256 else if ((setting->flags & F_INT_SETTING) == F_INT_SETTING) 256 else if ((setting->flags & F_INT_SETTING) == F_INT_SETTING)
257 { 257 {
258 struct int_setting *info = setting->int_setting; 258 struct int_setting *info = setting->int_setting;
259#if CONFIG_KEYPAD != PLAYER_PAD
259 min = info->min; 260 min = info->min;
260 max = info->max; 261 max = info->max;
261 step = info->step; 262 step = info->step;
263#else
264 max = info->min;
265 min = info->max;
266 step = -info->step;
267#endif
262 } 268 }
263 if (setting->flags & F_FLIPLIST) 269 if (setting->flags & F_FLIPLIST)
264 { 270 {