summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-29 22:22:16 +0000
committerlordjaxom <lordjaxom>2004-12-29 22:22:16 +0000
commit12d315665543372cc3769fc57e0903faa8ab0162 (patch)
tree1bf8a87a1ce46889b2035987b319a8a47ef4ddbb /xml
parent40fd20f76dabaed2488756117967025ec7bf6b1f (diff)
downloadvdr-plugin-text2skin-12d315665543372cc3769fc57e0903faa8ab0162.tar.gz
vdr-plugin-text2skin-12d315665543372cc3769fc57e0903faa8ab0162.tar.bz2
- fixed parsing '\'' withing strings
Diffstat (limited to 'xml')
-rw-r--r--xml/function.c4
1 files 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;