diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-05-28 03:06:51 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-05-28 03:06:51 +0000 |
commit | 9262a83e4fdce1c9ca148c8e0f1eac5ff1d7ff2a (patch) | |
tree | 07a1c538931ac5e8fc7ff70d14413c3e066527f5 | |
parent | 20dcf0b52338a761cfe22d1c019615578a0f364b (diff) | |
download | rockbox-9262a83e4fdce1c9ca148c8e0f1eac5ff1d7ff2a.tar.gz 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
-rw-r--r-- | utils/skinupdater/skinupdater.c | 6 |
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) | |||
85 | } | 85 | } |
86 | else if (MATCH("xl")) | 86 | else if (MATCH("xl")) |
87 | { | 87 | { |
88 | /* THIS IS BLOODY WRONG! */ | ||
89 | PUTCH(out, '('); | 88 | PUTCH(out, '('); |
90 | len += 1+dump_arg(out, start+1, 4, false); | 89 | int read = 1+dump_arg(out, start+1, 4, false); |
91 | start += len+1; | 90 | len += read; |
91 | start += read; | ||
92 | if (*start>= '0' && *start <= '9') | 92 | if (*start>= '0' && *start <= '9') |
93 | { | 93 | { |
94 | PUTCH(out, ','); | 94 | PUTCH(out, ','); |