diff options
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r-- | apps/tagtree.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index 41db17b31a..405274c6bd 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <stdio.h> | 24 | #include <stdio.h> |
25 | #include <string.h> | 25 | #include <string.h> |
26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
27 | #include "config.h" | ||
27 | #include "system.h" | 28 | #include "system.h" |
28 | #include "kernel.h" | 29 | #include "kernel.h" |
29 | #include "splash.h" | 30 | #include "splash.h" |
@@ -43,6 +44,7 @@ | |||
43 | #include "playback.h" | 44 | #include "playback.h" |
44 | #include "yesno.h" | 45 | #include "yesno.h" |
45 | #include "misc.h" | 46 | #include "misc.h" |
47 | #include "filetypes.h" | ||
46 | 48 | ||
47 | #define FILE_SEARCH_INSTRUCTIONS ROCKBOX_DIR "/tagnavi.config" | 49 | #define FILE_SEARCH_INSTRUCTIONS ROCKBOX_DIR "/tagnavi.config" |
48 | 50 | ||
@@ -1669,13 +1671,13 @@ int tagtree_get_attr(struct tree_context* c) | |||
1669 | { | 1671 | { |
1670 | case navibrowse: | 1672 | case navibrowse: |
1671 | if (csi->tagorder[c->currextra] == tag_title) | 1673 | if (csi->tagorder[c->currextra] == tag_title) |
1672 | attr = TREE_ATTR_MPA; | 1674 | attr = FILE_ATTR_AUDIO; |
1673 | else | 1675 | else |
1674 | attr = ATTR_DIRECTORY; | 1676 | attr = ATTR_DIRECTORY; |
1675 | break; | 1677 | break; |
1676 | 1678 | ||
1677 | case allsubentries: | 1679 | case allsubentries: |
1678 | attr = TREE_ATTR_MPA; | 1680 | attr = FILE_ATTR_AUDIO; |
1679 | break; | 1681 | break; |
1680 | 1682 | ||
1681 | default: | 1683 | default: |
@@ -1690,7 +1692,7 @@ int tagtree_get_icon(struct tree_context* c) | |||
1690 | { | 1692 | { |
1691 | int icon = Icon_Folder; | 1693 | int icon = Icon_Folder; |
1692 | 1694 | ||
1693 | if (tagtree_get_attr(c) == TREE_ATTR_MPA) | 1695 | if (tagtree_get_attr(c) == FILE_ATTR_AUDIO) |
1694 | icon = Icon_Audio; | 1696 | icon = Icon_Audio; |
1695 | 1697 | ||
1696 | return icon; | 1698 | return icon; |