diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index fc36671217..e981aeecfc 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -1012,7 +1012,7 @@ void tree_mem_init(void) | |||
1012 | cache->name_buffer = buffer_alloc(cache->name_buffer_size); | 1012 | cache->name_buffer = buffer_alloc(cache->name_buffer_size); |
1013 | 1013 | ||
1014 | cache->max_entries = global_settings.max_files_in_dir; | 1014 | cache->max_entries = global_settings.max_files_in_dir; |
1015 | cache->entries = buffer_alloc(cache->max_entries*(sizeof(cache->entries))); | 1015 | cache->entries = buffer_alloc(cache->max_entries*(sizeof(struct entry))); |
1016 | tree_get_filetypes(&filetypes, &filetypes_count); | 1016 | tree_get_filetypes(&filetypes, &filetypes_count); |
1017 | } | 1017 | } |
1018 | 1018 | ||