From 4fabb4f39401a6953f7e920746080bff8c67580a Mon Sep 17 00:00:00 2001 From: bertrik Date: Sun, 3 Jan 2010 13:14:50 +0000 Subject: [PATCH] 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 --- apps/gui/bitmap/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index e0b68c42a4..f8b5eb216b 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -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]); -- 2.11.4.GIT