summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-01-03 13:14:50 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-01-03 13:14:50 +0000
commit92d287495900cbf23e1f7857bedf5feede2f4777 (patch)
tree7e80c4a572c86cd3686bafb7b562bc51905c82e6
parentf15e6ff061f716b576851c1001625c09c5d62a24 (diff)
downloadrockbox-92d287495900cbf23e1f7857bedf5feede2f4777.tar.gz
rockbox-92d287495900cbf23e1f7857bedf5feede2f4777.tar.bz2
rockbox-92d287495900cbf23e1f7857bedf5feede2f4777.zip
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
-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 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]);