summaryrefslogtreecommitdiff
path: root/xml/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'xml/function.c')
-rw-r--r--xml/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml/function.c b/xml/function.c
index 3243257..597bece 100644
--- a/xml/function.c
+++ b/xml/function.c
@@ -1,5 +1,5 @@
/*
- * $Id: function.c,v 1.5 2004/12/10 21:46:46 lordjaxom Exp $
+ * $Id: function.c,v 1.7 2004/12/14 13:13:10 lordjaxom Exp $
*/
#include "xml/function.h"
@@ -160,7 +160,7 @@ const std::string &cxFunction::FunFile(const std::string &Param) const
{
std::string path = cText2SkinRender::ImagePath(Param);
Dprintf("checking file(%s) in cache\n", path.c_str());
- return cText2SkinBitmap::Load(path) ? Param : False;
+ return cText2SkinBitmap::Available(path) ? Param : False;
}
std::string cxFunction::FunPlugin(const std::string &Param) const