diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-08-03 09:49:25 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-08-03 09:49:25 +0000 |
| commit | 98096970e05108e723b64072f2b34187c92733de (patch) | |
| tree | 14207a691999847d44f309dd6051bd646f6aea68 /apps/plugins/imageviewer | |
| parent | fa5cf8edeaf57c8ad3874c10998021cc3c240df5 (diff) | |
| download | rockbox-98096970e05108e723b64072f2b34187c92733de.zip rockbox-98096970e05108e723b64072f2b34187c92733de.tar.gz rockbox-98096970e05108e723b64072f2b34187c92733de.tar.bz2 rockbox-98096970e05108e723b64072f2b34187c92733de.tar.xz | |
Cleanup tree.c cache handling a bit.
* Rename stuff to not re-use the term dircache
* Move cache to own struct
* Encapsulate retrieving entries a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30242 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/imageviewer')
| -rw-r--r-- | apps/plugins/imageviewer/imageviewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.c b/apps/plugins/imageviewer/imageviewer.c index 6750c6c..80e1ba4 100644 --- a/apps/plugins/imageviewer/imageviewer.c +++ b/apps/plugins/imageviewer/imageviewer.c @@ -136,7 +136,7 @@ static enum image_type image_type = IMAGE_UNKNOWN; static void get_pic_list(void) { struct tree_context *tree = rb->tree_get_context(); - struct entry *dircache = tree->dircache; + struct entry *dircache = tree->cache.entries; int i; char *pname; |