From b813c8ed35f80e0980f290afa3d75756f4896f45 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Fri, 21 Jan 2005 21:39:12 +0000 Subject: - cleanup --- xml/function.c | 15 +-------------- 1 file changed, 1 insertion(+), 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 - -- cgit v1.2.3