summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-08-11 18:53:46 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-08-11 18:53:46 +0000
commite1c804f4d36ba9b1f8d5bb2719ac88e1959954d3 (patch)
tree53af9973deb2af8a3aea84c90b8184d328c590c7
parentd159ae54b616a21c1a087ea578ff42914d88dc3a (diff)
downloadrockbox-e1c804f4d36ba9b1f8d5bb2719ac88e1959954d3.tar.gz
rockbox-e1c804f4d36ba9b1f8d5bb2719ac88e1959954d3.tar.bz2
rockbox-e1c804f4d36ba9b1f8d5bb2719ac88e1959954d3.zip
A typo caused lastplayed field to be unusable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10531 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tagtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index aede719ddb..b7e75a15c3 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -423,7 +423,7 @@ static void tagtree_unbuffer_event(struct mp3entry *id3, bool last_track)
if (!tagcache_modify_numeric_entry(&tcs, tag_playcount, playcount)
|| !tagcache_modify_numeric_entry(&tcs, tag_playtime, playtime)
- || !tagcache_modify_numeric_entry(&tcs, tag_lastplayed, tag_lastplayed))
+ || !tagcache_modify_numeric_entry(&tcs, tag_lastplayed, lastplayed))
{
logf("tc stat: modify failed!");
tagcache_search_finish(&tcs);