diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-03 13:14:50 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-01-03 13:14:50 +0000 |
commit | 92d287495900cbf23e1f7857bedf5feede2f4777 (patch) | |
tree | 7e80c4a572c86cd3686bafb7b562bc51905c82e6 /apps | |
parent | f15e6ff061f716b576851c1001625c09c5d62a24 (diff) | |
download | rockbox-92d287495900cbf23e1f7857bedf5feede2f4777.tar.gz 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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/bitmap/list.c | 2 |
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) | |||
113 | const int screen = display->screen_type; | 113 | const int screen = display->screen_type; |
114 | const int list_start_item = list->start_item[screen]; | 114 | const int list_start_item = list->start_item[screen]; |
115 | const int icon_width = get_icon_width(screen) + ICON_PADDING; | 115 | const int icon_width = get_icon_width(screen) + ICON_PADDING; |
116 | const int scrollbar_in_left = global_settings.scrollbar == SCROLLBAR_LEFT; | 116 | const bool scrollbar_in_left = (global_settings.scrollbar == SCROLLBAR_LEFT); |
117 | const bool show_cursor = !global_settings.cursor_style && | 117 | const bool show_cursor = !global_settings.cursor_style && |
118 | list->show_selection_marker; | 118 | list->show_selection_marker; |
119 | struct viewport *parent = (list->parent[screen]); | 119 | struct viewport *parent = (list->parent[screen]); |