From c11b90fa49b09da7d50e728095dc8075069e3137 Mon Sep 17 00:00:00 2001 From: Kjell Ericson Date: Fri, 10 Jan 2003 09:55:50 +0000 Subject: Adapted player code for new Rocklatin character set. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3051 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index 37a791c13c..3f666ebfc3 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -411,7 +411,11 @@ static int showdir(char *path, int start) break; #endif default: +#ifdef HAVE_LCD_BITMAP icon_type = 0; +#else + icon_type = Unknown; +#endif } if (icon_type) { @@ -424,8 +428,7 @@ static int showdir(char *path, int start) MARGIN_Y+(i-start)*line_height + offset, 6, 8, true); #else - lcd_define_pattern((i-start)*8,tree_icons_5x7[icon_type],8); - lcd_putc(LINE_X-1, i-start, i-start); + lcd_putc(LINE_X-1, i-start, icon_type); #endif } -- cgit v1.2.3