diff options
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 | ||