diff options
author | Hardeep Sidhu <dyp@pobox.com> | 2006-06-07 20:42:42 +0000 |
---|---|---|
committer | Hardeep Sidhu <dyp@pobox.com> | 2006-06-07 20:42:42 +0000 |
commit | 432a698a2b4c779f0962b0e96df0b1af41c340de (patch) | |
tree | 7f685699d094e4ffc09ccffa61639fb579795ec7 /apps/tree.c | |
parent | 1dbb2d27293679876a8446a646980804d7a727ee (diff) | |
download | rockbox-432a698a2b4c779f0962b0e96df0b1af41c340de.tar.gz rockbox-432a698a2b4c779f0962b0e96df0b1af41c340de.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index 72e7bc4504..00ca7c8e19 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -303,7 +303,8 @@ static int update_dir(void) | |||
303 | if (id3db) { | 303 | if (id3db) { |
304 | if (tc.currtable != lasttable || | 304 | if (tc.currtable != lasttable || |
305 | tc.currextra != lastextra || | 305 | tc.currextra != lastextra || |
306 | tc.firstpos != lastfirstpos) | 306 | tc.firstpos != lastfirstpos || |
307 | reload_dir) | ||
307 | { | 308 | { |
308 | if (tagtree_load(&tc) < 0) | 309 | if (tagtree_load(&tc) < 0) |
309 | return -1; | 310 | return -1; |