From 488de5e09c732ea44bd8060840d9884d5ab4ee65 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Sun, 17 Jun 2007 21:29:24 +0000 Subject: Fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13657 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 2 +- apps/settings.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/gui/list.c b/apps/gui/list.c index 5e073cc93b..adeff533b0 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); diff --git a/apps/settings.c b/apps/settings.c index 11d719f3f3..8adc9637d8 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -61,6 +61,7 @@ #include "splash.h" #include "list.h" #include "settings_list.h" +#include "filetypes.h" #if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1)) #include "backdrop.h" -- cgit