summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/dbtree.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/apps/dbtree.c b/apps/dbtree.c
index e18f17da2d..68a211a836 100644
--- a/apps/dbtree.c
+++ b/apps/dbtree.c
@@ -368,7 +368,18 @@ const char* db_get_icon(struct tree_context* c)
368#else 368#else
369int db_get_icon(struct tree_context* c) 369int db_get_icon(struct tree_context* c)
370{ 370{
371 (void)c; 371 int icon;
372 return Folder; 372 switch (c->currtable)
373 {
374 case allsongs:
375 case songs:
376 icon = File;
377 break;
378
379 default:
380 icon = Folder;
381 break;
382 }
383 return icon;
373} 384}
374#endif 385#endif