diff options
| author | Justin Heiner <jheiner@rockbox.org> | 2002-09-03 16:37:12 +0000 |
|---|---|---|
| committer | Justin Heiner <jheiner@rockbox.org> | 2002-09-03 16:37:12 +0000 |
| commit | 4498b5e9a36a3a00f283b7e3b29dcddf775836db (patch) | |
| tree | 80601ad5d7e67e7a754f7ce4865d69eda6dc3e41 | |
| parent | abe11fd910f979f95454e3b44aba5a57570c6543 (diff) | |
| download | rockbox-4498b5e9a36a3a00f283b7e3b29dcddf775836db.zip rockbox-4498b5e9a36a3a00f283b7e3b29dcddf775836db.tar.gz rockbox-4498b5e9a36a3a00f283b7e3b29dcddf775836db.tar.bz2 rockbox-4498b5e9a36a3a00f283b7e3b29dcddf775836db.tar.xz | |
Changed Player Tree-Icon display to not show any icon for unknown files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2155 a1c6a512-1295-4272-9138-f99709370657
| -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 36ce52c..c9cbf4d 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -333,8 +333,11 @@ static int showdir(char *path, int start) CURSOR_X * 6 + CURSOR_WIDTH, MARGIN_Y+(i-start)*line_height, 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); + if(icon_type!=0) + { + lcd_define_pattern((i-start)*8,tree_icons_5x7[icon_type],8); + lcd_putc(LINE_X-1, i-start, i-start); + } #endif /* if MP3 filter is on, cut off the extension */ |