summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 5d040a9..c1b53cf 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1364,9 +1364,14 @@ void tree_restore(void)
str(LANG_DIRCACHE_BUILDING));
gui_textarea_update(&screens[i]);
}
+
dircache_build(global_settings.dircache_size);
+
/* Clean the text when we are done. */
- gui_textarea_clear(&screens[i]);
+ for(i = 0;i < NB_SCREENS;++i)
+ {
+ gui_textarea_clear(&screens[i]);
+ }
}
#endif
}