From ed2cfb8c1d2215fc6ac287dbf03bbd2847ec3ef3 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sat, 30 Apr 2011 11:00:26 +0000 Subject: Don't (partially) apply changes to max entries in the file browser immediately. The setting affects a buffer that is allocated during boot, so code using that buffer should use the value that was in effect during boot. Add a note to the manual that a reboot is needed for the changes to be applied. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29798 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/tagtree.c') 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) dptr++; current_entry_count++; - if (current_entry_count >= global_settings.max_files_in_dir) + if (current_entry_count >= c->dircache_count) { logf("chunk mode #3: %d", current_entry_count); c->dirfull = true; -- cgit v1.2.3