summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index d2a7111e5f..5dd88c8e9d 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -811,7 +811,12 @@ static int dirbrowse(void)
811 tagtree_get_filename(&tc, buf, sizeof(buf)); 811 tagtree_get_filename(&tc, buf, sizeof(buf));
812 } 812 }
813 else 813 else
814 {
814 attr = ATTR_DIRECTORY; 815 attr = ATTR_DIRECTORY;
816 tagtree_get_entry_name(&tc, tc.selected_item,
817 buf, sizeof(buf));
818 fix_path_part(buf, 0, sizeof(buf));
819 }
815 } 820 }
816 else 821 else
817#endif 822#endif
@@ -956,7 +961,7 @@ int create_playlist(void)
956#endif 961#endif
957 962
958 trigger_cpu_boost(); 963 trigger_cpu_boost();
959 ret = catalog_add_to_a_playlist(tc.currdir, ATTR_DIRECTORY, true, NULL); 964 ret = catalog_add_to_a_playlist(tc.currdir, ATTR_DIRECTORY, true, NULL, NULL);
960 cancel_cpu_boost(); 965 cancel_cpu_boost();
961 966
962 return (ret) ? 1 : 0; 967 return (ret) ? 1 : 0;