summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2007-06-17 21:29:24 +0000
committerBrandon Low <lostlogic@rockbox.org>2007-06-17 21:29:24 +0000
commit488de5e09c732ea44bd8060840d9884d5ab4ee65 (patch)
tree1ec1d31ca568f88484eef9b8e34c16527a567c53 /apps/gui
parent74cbb0a1b24a5d2e32d2667b236483b5e7253e98 (diff)
downloadrockbox-488de5e09c732ea44bd8060840d9884d5ab4ee65.zip
rockbox-488de5e09c732ea44bd8060840d9884d5ab4ee65.tar.gz
rockbox-488de5e09c732ea44bd8060840d9884d5ab4ee65.tar.bz2
rockbox-488de5e09c732ea44bd8060840d9884d5ab4ee65.tar.xz
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13657 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 5e073cc..adeff53 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -348,7 +348,6 @@ static void gui_list_draw_smart(struct gui_list *gui_list)
unsigned char *entry_name;
int current_item = gui_list->start_item +
(SHOW_LIST_TITLE ? i-1 : i);
- int style = STYLE_DEFAULT;
/* When there are less items to display than the
* current available space on the screen, we stop*/
@@ -360,6 +359,7 @@ static void gui_list_draw_smart(struct gui_list *gui_list)
entry_name = P2STR(s);
#ifdef HAVE_LCD_BITMAP
+ int style = STYLE_DEFAULT;
/* position the string at the correct offset place */
int item_width,h;
display->getstringsize(entry_name, &item_width, &h);