summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/option_select.c2
-rw-r--r--apps/gui/select.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index 68103c77c3..d482bd24ae 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -39,7 +39,7 @@ void option_select_init_numeric(struct option_select * opt,
39 opt->extra_string=unit; 39 opt->extra_string=unit;
40 opt->formatter=formatter; 40 opt->formatter=formatter;
41 opt->items=NULL; 41 opt->items=NULL;
42 opt->limit_loop=false; 42 opt->limit_loop=true;
43} 43}
44 44
45void option_select_init_items(struct option_select * opt, 45void option_select_init_items(struct option_select * opt,
diff --git a/apps/gui/select.c b/apps/gui/select.c
index 12b3c91620..89a047890c 100644
--- a/apps/gui/select.c
+++ b/apps/gui/select.c
@@ -77,7 +77,6 @@ void gui_syncselect_draw(struct gui_select * select)
77 77
78bool gui_syncselect_do_button(struct gui_select * select, int button) 78bool gui_syncselect_do_button(struct gui_select * select, int button)
79{ 79{
80 select->options.limit_loop = false;
81 switch(button) 80 switch(button)
82 { 81 {
83 case SELECT_INC | BUTTON_REPEAT : 82 case SELECT_INC | BUTTON_REPEAT :