summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-14 11:56:53 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-14 11:56:53 +0000
commitfd1432df886e4a3613f48dc1224f6130f87caea9 (patch)
tree2975faf665331f2dfbf8292e4c22a2f76235ddf8 /src/pugixml.cpp
parent33c540664166e3b1e5de6975e6ca8484e8bd7f05 (diff)
Fixed strconv_t (incorrect skipping of non-escape symbols)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@24 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 6ca3185..910c082 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -268,7 +268,7 @@ namespace pugi
{
while (*str)
{
- if (opt_wconv && *str == '&') break;
+ if (opt_escape && *str == '&') break;
if ((opt_wnorm || opt_wconv || opt_eol) && chartype_space(*str)) break;
++str;
}