From 12d315665543372cc3769fc57e0903faa8ab0162 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 29 Dec 2004 22:22:16 +0000 Subject: - fixed parsing '\'' withing strings --- xml/function.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/function.c b/xml/function.c index 04a3f2f..00eea35 100644 --- a/xml/function.c +++ b/xml/function.c @@ -1,5 +1,5 @@ /* - * $Id: function.c,v 1.2 2004/12/21 18:35:54 lordjaxom Exp $ + * $Id: function.c,v 1.3 2004/12/29 22:22:16 lordjaxom Exp $ */ #include "xml/function.h" @@ -73,7 +73,7 @@ bool cxFunction::Parse(const std::string &Text) int pos = -1; while ((pos = temp.find("\\'", pos + 1)) != -1) - temp.replace(pos, 1, "\'"); + temp.replace(pos, 2, "'"); if (!mString.Parse(temp)) return false; -- cgit v1.2.3