Fix error: assignment of read-only variable 'list_width'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26923 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4c4285df9a
commit
6be8306ae0
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list)
|
|||
const int screen = display->screen_type;
|
||||
const int list_start_item = gui_list->start_item[screen];
|
||||
const struct viewport *list_text_vp = &list_text[screen];
|
||||
const int list_width = list_text_vp->width;
|
||||
int list_width = list_text_vp->width;
|
||||
|
||||
if (global_settings.scrollbar == SCROLLBAR_RIGHT)
|
||||
list_width += SCROLLBAR_WIDTH;
|
||||
|
|
Loading…
Reference in a new issue