summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/skinupdater/skinupdater.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/utils/skinupdater/skinupdater.c b/utils/skinupdater/skinupdater.c
index e249996cd5..0bb305fb5e 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)
279 } 279 }
280 else if (MATCH("Vp")) 280 else if (MATCH("Vp"))
281 { 281 {
282 int read;
282 /* NOTE: almost certainly needs work */ 283 /* NOTE: almost certainly needs work */
283 PUTCH(out, '('); 284 PUTCH(out, '(');
284 len += 1+dump_arg(out, start+1, 3, true); 285 read = 1+dump_arg(out, start+1, 1, false);
286 PUTCH(out, ',');
287 while (start[read] != '|')
288 {
289 PUTCH(out, start[read++]);
290 }
291 PUTCH(out, ',');
292 read++;
293 while (start[read] != '|')
294 {
295 PUTCH(out, start[read++]);
296 }
297 PUTCH(out, ')');
298 read++;
299 len += read;
285 } 300 }
286 else if (MATCH("Vi")) 301 else if (MATCH("Vi"))
287 { 302 {