1
0
Fork 0
forked from len0rd/rockbox

fix %Vp updating...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26722 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-09 13:30:10 +00:00
parent a444eb57d4
commit 45ed0b86eb

View file

@ -279,9 +279,24 @@ int parse_tag(FILE* out, const char* start, bool in_conditional)
}
else if (MATCH("Vp"))
{
int read;
/* NOTE: almost certainly needs work */
PUTCH(out, '(');
len += 1+dump_arg(out, start+1, 3, true);
read = 1+dump_arg(out, start+1, 1, false);
PUTCH(out, ',');
while (start[read] != '|')
{
PUTCH(out, start[read++]);
}
PUTCH(out, ',');
read++;
while (start[read] != '|')
{
PUTCH(out, start[read++]);
}
PUTCH(out, ')');
read++;
len += read;
}
else if (MATCH("Vi"))
{