forked from len0rd/rockbox
Player: Return the correct icon for id3 database browsing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5593 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3badc7dda2
commit
28ce045ead
1 changed files with 13 additions and 2 deletions
|
|
@ -368,7 +368,18 @@ const char* db_get_icon(struct tree_context* c)
|
|||
#else
|
||||
int db_get_icon(struct tree_context* c)
|
||||
{
|
||||
(void)c;
|
||||
return Folder;
|
||||
int icon;
|
||||
switch (c->currtable)
|
||||
{
|
||||
case allsongs:
|
||||
case songs:
|
||||
icon = File;
|
||||
break;
|
||||
|
||||
default:
|
||||
icon = Folder;
|
||||
break;
|
||||
}
|
||||
return icon;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue