summaryrefslogtreecommitdiffstats
path: root/apps/tree.h
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2011-04-30 11:00:26 +0000
committerMagnus Holmgren <magnushol@gmail.com>2011-04-30 11:00:26 +0000
commited2cfb8c1d2215fc6ac287dbf03bbd2847ec3ef3 (patch)
tree6e6239b3151cf14a6432941a5957e1452e1fc3a0 /apps/tree.h
parent16e793f5d1d626e6506f2b172efa03f46fb0ed39 (diff)
downloadrockbox-ed2cfb8c1d2215fc6ac287dbf03bbd2847ec3ef3.tar.gz
rockbox-ed2cfb8c1d2215fc6ac287dbf03bbd2847ec3ef3.tar.bz2
rockbox-ed2cfb8c1d2215fc6ac287dbf03bbd2847ec3ef3.zip
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
Diffstat (limited to 'apps/tree.h')
-rw-r--r--apps/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.h b/apps/tree.h
index 7275c9ae94..104d6c480a 100644
--- a/apps/tree.h
+++ b/apps/tree.h
@@ -84,7 +84,7 @@ struct tree_context {
* contains all files and dirs in the current
* dir (with filters applied) */
void* dircache;
- int dircache_size;
+ int dircache_count; /* Number of entries in dircache */
char* name_buffer;
int name_buffer_size;
int dentry_size;