summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 575ab221ac..2a2e2b805b 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -1288,7 +1288,7 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init)
1288 dptr++; 1288 dptr++;
1289 current_entry_count++; 1289 current_entry_count++;
1290 1290
1291 if (current_entry_count >= global_settings.max_files_in_dir) 1291 if (current_entry_count >= c->dircache_count)
1292 { 1292 {
1293 logf("chunk mode #3: %d", current_entry_count); 1293 logf("chunk mode #3: %d", current_entry_count);
1294 c->dirfull = true; 1294 c->dirfull = true;