summaryrefslogtreecommitdiff
path: root/xml/skin.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-21 18:35:54 +0000
committerlordjaxom <lordjaxom>2004-12-21 18:35:54 +0000
commitc05277882c111760d4e275b8521bb057e913a946 (patch)
tree4eafb4a11134d83b3a5f0d6658fa3df9f924d26f /xml/skin.c
parentde783ac67265a5a11ebbad52e8dbc81292b4ac66 (diff)
downloadvdr-plugin-text2skin-c05277882c111760d4e275b8521bb057e913a946.tar.gz
vdr-plugin-text2skin-c05277882c111760d4e275b8521bb057e913a946.tar.bz2
- dunno
Diffstat (limited to 'xml/skin.c')
-rw-r--r--xml/skin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xml/skin.c b/xml/skin.c
index fb38950..c787021 100644
--- a/xml/skin.c
+++ b/xml/skin.c
@@ -1,5 +1,5 @@
/*
- * $Id: skin.c,v 1.1 2004/12/19 22:03:28 lordjaxom Exp $
+ * $Id: skin.c,v 1.2 2004/12/21 18:35:54 lordjaxom Exp $
*/
#include "xml/skin.h"
@@ -13,7 +13,9 @@ cxSkin::cxSkin(const std::string &Name):
}
void cxSkin::SetBase(eScreenBase Base) {
- mBase = Base;
+ if (Base != (eScreenBase)-1)
+ mBase = Base;
+
switch (mBase) {
case relative:
mBaseOffset = txPoint(Setup.OSDLeft, Setup.OSDTop);