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:
parent
a444eb57d4
commit
45ed0b86eb
1 changed files with 16 additions and 1 deletions
|
@ -279,9 +279,24 @@ int parse_tag(FILE* out, const char* start, bool in_conditional)
|
||||||
}
|
}
|
||||||
else if (MATCH("Vp"))
|
else if (MATCH("Vp"))
|
||||||
{
|
{
|
||||||
|
int read;
|
||||||
/* NOTE: almost certainly needs work */
|
/* NOTE: almost certainly needs work */
|
||||||
PUTCH(out, '(');
|
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"))
|
else if (MATCH("Vi"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue