forked from len0rd/rockbox
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
This commit is contained in:
parent
abe11fd910
commit
4498b5e9a3
1 changed files with 5 additions and 2 deletions
|
|
@ -333,8 +333,11 @@ static int showdir(char *path, int start)
|
||||||
CURSOR_X * 6 + CURSOR_WIDTH,
|
CURSOR_X * 6 + CURSOR_WIDTH,
|
||||||
MARGIN_Y+(i-start)*line_height, 6, 8, true);
|
MARGIN_Y+(i-start)*line_height, 6, 8, true);
|
||||||
#else
|
#else
|
||||||
|
if(icon_type!=0)
|
||||||
|
{
|
||||||
lcd_define_pattern((i-start)*8,tree_icons_5x7[icon_type],8);
|
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, i-start);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* if MP3 filter is on, cut off the extension */
|
/* if MP3 filter is on, cut off the extension */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue