1
0
Fork 0
forked from len0rd/rockbox

Bah, missed the actual battery level. :-)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4424 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2004-03-21 16:25:08 +00:00
parent 802a5a5915
commit 834ac53c91

View file

@ -549,7 +549,7 @@ static char* get_tag(struct mp3entry* id3,
{
int l = battery_level();
if (l > -1)
snprintf(buf, buf_size, "%d%%");
snprintf(buf, buf_size, "%d%%", l);
else
return "?%";
return buf;