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/gui | |
| parent | f15e6ff061f716b576851c1001625c09c5d62a24 (diff) | |
| download | rockbox-92d287495900cbf23e1f7857bedf5feede2f4777.zip rockbox-92d287495900cbf23e1f7857bedf5feede2f4777.tar.gz rockbox-92d287495900cbf23e1f7857bedf5feede2f4777.tar.bz2 rockbox-92d287495900cbf23e1f7857bedf5feede2f4777.tar.xz | |
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/gui')
| -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 e0b68c4..f8b5eb2 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]); |