diff options
author | Kjell Ericson <kjell@haxx.se> | 2003-01-10 09:55:50 +0000 |
---|---|---|
committer | Kjell Ericson <kjell@haxx.se> | 2003-01-10 09:55:50 +0000 |
commit | c11b90fa49b09da7d50e728095dc8075069e3137 (patch) | |
tree | d6dd1adc3bb7dedc90a38296f8b6b6be5eeaed9c /apps/tree.c | |
parent | b8342ff072da62f6152dc7e62c00c550533dd39f (diff) | |
download | rockbox-c11b90fa49b09da7d50e728095dc8075069e3137.tar.gz rockbox-c11b90fa49b09da7d50e728095dc8075069e3137.zip |
Adapted player code for new Rocklatin character set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3051 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 7 |
1 files changed, 5 insertions, 2 deletions
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) | |||
411 | break; | 411 | break; |
412 | #endif | 412 | #endif |
413 | default: | 413 | default: |
414 | #ifdef HAVE_LCD_BITMAP | ||
414 | icon_type = 0; | 415 | icon_type = 0; |
416 | #else | ||
417 | icon_type = Unknown; | ||
418 | #endif | ||
415 | } | 419 | } |
416 | 420 | ||
417 | if (icon_type) { | 421 | if (icon_type) { |
@@ -424,8 +428,7 @@ static int showdir(char *path, int start) | |||
424 | MARGIN_Y+(i-start)*line_height + offset, | 428 | MARGIN_Y+(i-start)*line_height + offset, |
425 | 6, 8, true); | 429 | 6, 8, true); |
426 | #else | 430 | #else |
427 | lcd_define_pattern((i-start)*8,tree_icons_5x7[icon_type],8); | 431 | lcd_putc(LINE_X-1, i-start, icon_type); |
428 | lcd_putc(LINE_X-1, i-start, i-start); | ||
429 | #endif | 432 | #endif |
430 | } | 433 | } |
431 | 434 | ||