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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index 7f829d26c3..c3246638ab 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -276,7 +276,6 @@ void option_select_next_val(const struct settings_list *setting,
276 else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING) 276 else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING)
277 { 277 {
278 struct choice_setting *info = (struct choice_setting *)setting->choice_setting; 278 struct choice_setting *info = (struct choice_setting *)setting->choice_setting;
279 val = *value + 1;
280 if (!previous) 279 if (!previous)
281 { 280 {
282 val = *value + 1; 281 val = *value + 1;