diff options
author | Christian Tusche <chr13@gmx.net> | 2007-05-06 17:26:51 +0200 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2009-06-04 00:46:32 +0200 |
commit | b32f1eaf9ae246f656ebd27c2fbb5d29d2bec34c (patch) | |
tree | bcecfb3d782d7b0c3690403276be18ab8f76717e /loader.c | |
parent | 0b3f86344a87940d324695e0bc9449c35cbf60d4 (diff) | |
download | vdr-plugin-text2skin-b32f1eaf9ae246f656ebd27c2fbb5d29d2bec34c.tar.gz vdr-plugin-text2skin-b32f1eaf9ae246f656ebd27c2fbb5d29d2bec34c.tar.bz2 |
2007-05-06: Version 1.1-cvs_ext-0.10b (text2skin-1.1-cvs_ext-0.10b.diff)
- increase skin file version to 1.1
- the position of list items is interpreted relative to the "list" container
when file version >= 1.1
- when a position is specified for "block" elements, the position of all
contained elements is interpreted relative to the container position
Diffstat (limited to 'loader.c')
-rw-r--r-- | loader.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -52,11 +52,12 @@ void cText2SkinLoader::Load(const char *Skin) { cxSkin *skin = xmlParse(Skin, skinfile, translations, theme); if (skin) { - if (skin->Version() == cText2SkinPlugin::SkinVersion()) { + if( skin->Version() <= cText2SkinPlugin::SkinVersion() ) { new cText2SkinLoader(skin, translations, theme, Skin, skin->Title()); return; } else - esyslog("ERROR: text2skin: Skin is version %s, expecting %s", skin->Version().c_str(), + esyslog("ERROR: text2skin: Skin is version %i,%i, expecting <= %s", + skin->Version().Major(), skin->Version().Minor(), cText2SkinPlugin::SkinVersion()); } else esyslog("ERROR: error in skin file"); |