summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-01-21 21:39:12 +0000
committerlordjaxom <lordjaxom>2005-01-21 21:39:12 +0000
commitb813c8ed35f80e0980f290afa3d75756f4896f45 (patch)
treec28c51fc2c2f97bf55440a19f9a126dd9eb895c4
parentc28d4273471ce16e2653e15d056251332fe2b762 (diff)
downloadvdr-plugin-text2skin-b813c8ed35f80e0980f290afa3d75756f4896f45.tar.gz
vdr-plugin-text2skin-b813c8ed35f80e0980f290afa3d75756f4896f45.tar.bz2
- cleanup
-rw-r--r--xml/function.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/xml/function.c b/xml/function.c
index 535a85b..34b6082 100644
--- a/xml/function.c
+++ b/xml/function.c
@@ -1,5 +1,5 @@
/*
- * $Id: function.c,v 1.11 2005/01/15 20:53:22 lordjaxom Exp $
+ * $Id: function.c,v 1.12 2005/01/21 21:39:12 lordjaxom Exp $
*/
#include "xml/function.h"
@@ -245,9 +245,7 @@ cxType cxFunction::Evaluate(void) const
return FunFile(mParams[0]->Evaluate());
case fun_trans:
- Dprintf("|%s| translates to |%s|\n", mParams[0]->Evaluate().String().c_str(), mSkin->Translate(mParams[0]->Evaluate()).c_str());
return mSkin->Translate(mParams[0]->Evaluate());
- //return mParams[0]->Evaluate();
case fun_plugin:
return FunPlugin(mParams[0]->Evaluate());
@@ -259,14 +257,3 @@ cxType cxFunction::Evaluate(void) const
}
return false;
}
-
-#if 0
-bool cxFunction::EvaluateToBool(void)
-{
- cxType result = Evaluate();
- if (result == False/* || result == "0"*/)
- return false;
- return true;
-}
-#endif
-