summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2006-06-07 20:42:42 +0000
committerHardeep Sidhu <dyp@pobox.com>2006-06-07 20:42:42 +0000
commit432a698a2b4c779f0962b0e96df0b1af41c340de (patch)
tree7f685699d094e4ffc09ccffa61639fb579795ec7 /apps/tree.c
parent1dbb2d27293679876a8446a646980804d7a727ee (diff)
downloadrockbox-432a698a2b4c779f0962b0e96df0b1af41c340de.zip
rockbox-432a698a2b4c779f0962b0e96df0b1af41c340de.tar.gz
rockbox-432a698a2b4c779f0962b0e96df0b1af41c340de.tar.bz2
rockbox-432a698a2b4c779f0962b0e96df0b1af41c340de.tar.xz
Properly reload tagcache when directory updated. Fixes B#5512.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10090 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 72e7bc4..00ca7c8 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -303,7 +303,8 @@ static int update_dir(void)
if (id3db) {
if (tc.currtable != lasttable ||
tc.currextra != lastextra ||
- tc.firstpos != lastfirstpos)
+ tc.firstpos != lastfirstpos ||
+ reload_dir)
{
if (tagtree_load(&tc) < 0)
return -1;