summaryrefslogtreecommitdiff
path: root/apps/gui/select.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/select.c')
-rw-r--r--apps/gui/select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/select.c b/apps/gui/select.c
index b632177fd7..2f3bddec68 100644
--- a/apps/gui/select.c
+++ b/apps/gui/select.c
@@ -54,7 +54,8 @@ void gui_select_init_items(struct gui_select * select,
54void gui_select_draw(struct gui_select * select, struct screen * display) 54void gui_select_draw(struct gui_select * select, struct screen * display)
55{ 55{
56 char buffer[30]; 56 char buffer[30];
57 const char * selected=option_select_get_text(&(select->options), buffer); 57 const char * selected=option_select_get_text(&(select->options), buffer,
58 sizeof buffer);
58#ifdef HAVE_LCD_BITMAP 59#ifdef HAVE_LCD_BITMAP
59 screen_set_xmargin(display, 0); 60 screen_set_xmargin(display, 0);
60#endif 61#endif