summaryrefslogtreecommitdiffstats
path: root/utils/skinupdater/skinupdater.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-28 03:06:51 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-28 03:06:51 +0000
commit9262a83e4fdce1c9ca148c8e0f1eac5ff1d7ff2a (patch)
tree07a1c538931ac5e8fc7ff70d14413c3e066527f5 /utils/skinupdater/skinupdater.c
parent20dcf0b52338a761cfe22d1c019615578a0f364b (diff)
downloadrockbox-9262a83e4fdce1c9ca148c8e0f1eac5ff1d7ff2a.tar.gz
rockbox-9262a83e4fdce1c9ca148c8e0f1eac5ff1d7ff2a.tar.bz2
rockbox-9262a83e4fdce1c9ca148c8e0f1eac5ff1d7ff2a.zip
fix %Xl tag... this shuold be useable now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26347 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/skinupdater/skinupdater.c')
-rw-r--r--utils/skinupdater/skinupdater.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/skinupdater/skinupdater.c b/utils/skinupdater/skinupdater.c
index 01d01886a2..982e36a5b7 100644
--- a/utils/skinupdater/skinupdater.c
+++ b/utils/skinupdater/skinupdater.c
@@ -85,10 +85,10 @@ int parse_tag(FILE* out, const char* start, bool in_conditional)
}
else if (MATCH("xl"))
{
- /* THIS IS BLOODY WRONG! */
PUTCH(out, '(');
- len += 1+dump_arg(out, start+1, 4, false);
- start += len+1;
+ int read = 1+dump_arg(out, start+1, 4, false);
+ len += read;
+ start += read;
if (*start>= '0' && *start <= '9')
{
PUTCH(out, ',');