mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Database: Fix FS#13368 – use separate selected item history
Database and File Browser were sharing each other’s selected item history before. Since the database isn’t browsed recursively, it’s probably unnecessary to include its own history in the tree context and its backups, saving.a little bit of memory. Change-Id: I87c9aed6f7056bc481b8b7299089851ef28f9bc5
This commit is contained in:
parent
59f3f43d10
commit
ca908d6336
3 changed files with 13 additions and 9 deletions
|
@ -90,8 +90,6 @@ struct tree_context {
|
|||
int dirsindir; /* file use */
|
||||
int dirlength; /* total number of entries in dir, incl. those not loaded */
|
||||
#ifdef HAVE_TAGCACHE
|
||||
int table_history[MAX_DIR_LEVELS]; /* db use */
|
||||
int extra_history[MAX_DIR_LEVELS]; /* db use */
|
||||
int currtable; /* db use */
|
||||
int currextra; /* db use */
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue