diff options
author | Brandon Low <lostlogic@rockbox.org> | 2007-06-17 21:29:24 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2007-06-17 21:29:24 +0000 |
commit | 488de5e09c732ea44bd8060840d9884d5ab4ee65 (patch) | |
tree | 1ec1d31ca568f88484eef9b8e34c16527a567c53 /apps | |
parent | 74cbb0a1b24a5d2e32d2667b236483b5e7253e98 (diff) | |
download | rockbox-488de5e09c732ea44bd8060840d9884d5ab4ee65.tar.gz rockbox-488de5e09c732ea44bd8060840d9884d5ab4ee65.zip |
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13657 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/list.c | 2 | ||||
-rw-r--r-- | apps/settings.c | 1 |
2 files changed, 2 insertions, 1 deletions
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) | |||
348 | unsigned char *entry_name; | 348 | unsigned char *entry_name; |
349 | int current_item = gui_list->start_item + | 349 | int current_item = gui_list->start_item + |
350 | (SHOW_LIST_TITLE ? i-1 : i); | 350 | (SHOW_LIST_TITLE ? i-1 : i); |
351 | int style = STYLE_DEFAULT; | ||
352 | 351 | ||
353 | /* When there are less items to display than the | 352 | /* When there are less items to display than the |
354 | * current available space on the screen, we stop*/ | 353 | * current available space on the screen, we stop*/ |
@@ -360,6 +359,7 @@ static void gui_list_draw_smart(struct gui_list *gui_list) | |||
360 | entry_name = P2STR(s); | 359 | entry_name = P2STR(s); |
361 | 360 | ||
362 | #ifdef HAVE_LCD_BITMAP | 361 | #ifdef HAVE_LCD_BITMAP |
362 | int style = STYLE_DEFAULT; | ||
363 | /* position the string at the correct offset place */ | 363 | /* position the string at the correct offset place */ |
364 | int item_width,h; | 364 | int item_width,h; |
365 | display->getstringsize(entry_name, &item_width, &h); | 365 | 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 @@ | |||
61 | #include "splash.h" | 61 | #include "splash.h" |
62 | #include "list.h" | 62 | #include "list.h" |
63 | #include "settings_list.h" | 63 | #include "settings_list.h" |
64 | #include "filetypes.h" | ||
64 | 65 | ||
65 | #if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1)) | 66 | #if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1)) |
66 | #include "backdrop.h" | 67 | #include "backdrop.h" |