From 2309d6d1e14c843250e4efa7cfac019e63d620ac Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 8 Jun 2010 14:52:03 +0000 Subject: change to %Cd to display albumart (instead of %C to make it more consistant with %Vd/%Vl and %xd/%xl) Also assume ; in skins are for sublines.. this means if you want ; in text you need to manually escape it (%;) far less false positives then git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26693 a1c6a512-1295-4272-9138-f99709370657 --- utils/skinupdater/skinupdater.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'utils/skinupdater') diff --git a/utils/skinupdater/skinupdater.c b/utils/skinupdater/skinupdater.c index f724232ff8..d2fbc9cf85 100644 --- a/utils/skinupdater/skinupdater.c +++ b/utils/skinupdater/skinupdater.c @@ -190,6 +190,10 @@ int parse_tag(FILE* out, const char* start, bool in_conditional) PUTCH(out, '('); len += 1+dump_arg(out, start+1, 2, true); } + else if (MATCH("C")) + { + fprintf(out, "%%Cd"); + } else if (MATCH("Cl")) { int read; @@ -395,6 +399,10 @@ top: PUTCH(out, *in++); } } + else if (*in == ';') + { + PUTCH(out, *in++); + } else { if (find_escape_character(*in)) -- cgit v1.2.3