forked from len0rd/rockbox
Explicitly provide both cases in conditional (fixes warning)
Change-Id: Iedca64432103af5407a7c7bac83e92ca1ae8992b
This commit is contained in:
parent
e6de6c107e
commit
28591f2e92
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ void list_draw(struct screen *display, struct gui_synclist *list)
|
|||
#endif
|
||||
|
||||
linedes.style = style;
|
||||
linedes.scroll = is_selected ?: list->scroll_all;
|
||||
linedes.scroll = is_selected ? true : list->scroll_all;
|
||||
linedes.line = i % list->selected_size;
|
||||
|
||||
/* the list can have both, one of or neither of cursor and item icons,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue