summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index a72c98281c..0826bbc6ba 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1325,7 +1325,7 @@ bool create_playlist(void)
1325void tree_init(void) 1325void tree_init(void)
1326{ 1326{
1327 /* We copy the settings value in case it is changed by the user. We can't 1327 /* We copy the settings value in case it is changed by the user. We can't
1328 use the next reboot. */ 1328 use it until the next reboot. */
1329 max_files_in_dir = global_settings.max_files_in_dir; 1329 max_files_in_dir = global_settings.max_files_in_dir;
1330 name_buffer_size = AVERAGE_FILENAME_LENGTH * max_files_in_dir; 1330 name_buffer_size = AVERAGE_FILENAME_LENGTH * max_files_in_dir;
1331 1331