Properly reload tagcache when directory updated. Fixes B#5512.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10090 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hardeep Sidhu 2006-06-07 20:42:42 +00:00
parent 1dbb2d2729
commit 432a698a2b

View file

@ -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;