summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/bitmap/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 2c396c7f00..ae7b19821e 100644
--- a/apps/gui/bitmap/list.c
+++ b/apps/gui/bitmap/list.c
@@ -351,7 +351,7 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list)
351 const int screen = display->screen_type; 351 const int screen = display->screen_type;
352 const int list_start_item = gui_list->start_item[screen]; 352 const int list_start_item = gui_list->start_item[screen];
353 const struct viewport *list_text_vp = &list_text[screen]; 353 const struct viewport *list_text_vp = &list_text[screen];
354 const int list_width = list_text_vp->width; 354 int list_width = list_text_vp->width;
355 355
356 if (global_settings.scrollbar == SCROLLBAR_RIGHT) 356 if (global_settings.scrollbar == SCROLLBAR_RIGHT)
357 list_width += SCROLLBAR_WIDTH; 357 list_width += SCROLLBAR_WIDTH;