1
0
Fork 0
forked from len0rd/rockbox

Allow all tag type in formatting string. Included example with

tagnavi.config.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11324 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-10-24 16:20:48 +00:00
parent 748036bb70
commit 02df5a8068
4 changed files with 92 additions and 66 deletions

View file

@ -1288,7 +1288,7 @@ bool tagcache_get_next(struct tagcache_search *tcs)
}
bool tagcache_retrieve(struct tagcache_search *tcs, int idxid,
char *buf, long size)
int tag, char *buf, long size)
{
struct index_entry idx;
@ -1296,7 +1296,7 @@ bool tagcache_retrieve(struct tagcache_search *tcs, int idxid,
if (!get_index(tcs->masterfd, idxid, &idx, true))
return false;
return retrieve(tcs, &idx, tcs->type, buf, size);
return retrieve(tcs, &idx, tag, buf, size);
}
#if 0
@ -2860,7 +2860,7 @@ bool tagcache_create_changelog(struct tagcache_search *tcs)
}
tcs->type = j;
tagcache_retrieve(tcs, i, buf, sizeof buf);
tagcache_retrieve(tcs, i, tcs->type, buf, sizeof buf);
write_tag(clfd, tagcache_tag_to_str(j), buf);
}