summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index d21ae13016..ac64fff1f5 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -398,8 +398,9 @@ static int update_dir(void)
398 char *title = strrchr(tc.currdir, '/') + 1; 398 char *title = strrchr(tc.currdir, '/') + 1;
399 if (*title == '\0') 399 if (*title == '\0')
400 { 400 {
401 /* Display nothing for the root dir */ 401 /* Display "Files" for the root dir */
402 gui_synclist_set_title(&tree_lists, NULL, NOICON); 402 gui_synclist_set_title(&tree_lists, str(LANG_DIR_BROWSER),
403 global_settings.show_icons?filetype_get_icon(ATTR_DIRECTORY):(ICON)NULL);
403 } 404 }
404 else 405 else
405 gui_synclist_set_title(&tree_lists, title, 406 gui_synclist_set_title(&tree_lists, title,