diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-07-04 23:20:51 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-07-04 23:20:51 +0000 |
| commit | ff8f681f03e83321f2fae716ec9de80918f2a253 (patch) | |
| tree | d7229c24a241672dac736d99d596aefacb1c9c37 /apps | |
| parent | cacb47e26243293534f49ee1001748d129596836 (diff) | |
| download | rockbox-ff8f681f03e83321f2fae716ec9de80918f2a253.zip rockbox-ff8f681f03e83321f2fae716ec9de80918f2a253.tar.gz rockbox-ff8f681f03e83321f2fae716ec9de80918f2a253.tar.bz2 rockbox-ff8f681f03e83321f2fae716ec9de80918f2a253.tar.xz | |
Do not delete tagcache entries on bootup with dircache enabled but auto-update disabled.
This fixes for example disappearing database if you happen to boot without µSD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21644 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tagcache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 43babfa..07af9bf 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -3984,7 +3984,8 @@ static bool load_tagcache(void) { logf("Entry no longer valid."); logf("-> %s", buf); - delete_entry(fe->idx_id); + if (global_settings.tagcache_autoupdate) + delete_entry(fe->idx_id); continue ; } |