diff options
-rw-r--r-- | utils/skinupdater/skinupdater.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/utils/skinupdater/skinupdater.c b/utils/skinupdater/skinupdater.c index a5e79fda96..a7f7cfd96a 100644 --- a/utils/skinupdater/skinupdater.c +++ b/utils/skinupdater/skinupdater.c | |||
@@ -18,9 +18,9 @@ int dump_arg(FILE* out, const char* start, int count, bool close) | |||
18 | { | 18 | { |
19 | if (count > 1) | 19 | if (count > 1) |
20 | { | 20 | { |
21 | printf(","); | 21 | PUTCH(out, ','); |
22 | } else if (close) { | 22 | } else if (close) { |
23 | printf(")"); | 23 | PUTCH(out, ')'); |
24 | } | 24 | } |
25 | count--; | 25 | count--; |
26 | } else { | 26 | } else { |
@@ -180,6 +180,13 @@ top: | |||
180 | } | 180 | } |
181 | in += parse_tag(out, in); | 181 | in += parse_tag(out, in); |
182 | } | 182 | } |
183 | else if (*in == '#') | ||
184 | { | ||
185 | while (*in != '\n') | ||
186 | { | ||
187 | PUTCH(out, *in++); | ||
188 | } | ||
189 | } | ||
183 | else | 190 | else |
184 | { | 191 | { |
185 | PUTCH(out, *in++); | 192 | PUTCH(out, *in++); |