apps/gui/bitmap/list.c: use bool instead of int to hold boolean value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24161 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f15e6ff061
commit
92d2874959
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void list_draw(struct screen *display, struct gui_synclist *list)
|
|||
const int screen = display->screen_type;
|
||||
const int list_start_item = list->start_item[screen];
|
||||
const int icon_width = get_icon_width(screen) + ICON_PADDING;
|
||||
const int scrollbar_in_left = global_settings.scrollbar == SCROLLBAR_LEFT;
|
||||
const bool scrollbar_in_left = (global_settings.scrollbar == SCROLLBAR_LEFT);
|
||||
const bool show_cursor = !global_settings.cursor_style &&
|
||||
list->show_selection_marker;
|
||||
struct viewport *parent = (list->parent[screen]);
|
||||
|
|
Loading…
Reference in a new issue