diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-09 13:30:10 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-09 13:30:10 +0000 |
| commit | 45ed0b86eb5f4ab3f1201704865110e6e01fb223 (patch) | |
| tree | 45eb6e3684fb63ea151c8cfa71dbcbb050c6e898 /utils | |
| parent | a444eb57d494b737b6733100acbf50e26ebfb4ba (diff) | |
| download | rockbox-45ed0b86eb5f4ab3f1201704865110e6e01fb223.zip rockbox-45ed0b86eb5f4ab3f1201704865110e6e01fb223.tar.gz rockbox-45ed0b86eb5f4ab3f1201704865110e6e01fb223.tar.bz2 rockbox-45ed0b86eb5f4ab3f1201704865110e6e01fb223.tar.xz | |
fix %Vp updating...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26722 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/skinupdater/skinupdater.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/utils/skinupdater/skinupdater.c b/utils/skinupdater/skinupdater.c index e249996..0bb305f 100644 --- a/utils/skinupdater/skinupdater.c +++ b/utils/skinupdater/skinupdater.c @@ -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")) { |