diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-13 08:12:46 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-13 08:12:46 -0700 |
commit | 6457f0941204a79ec5ba359a12aa00bf06f0e621 (patch) | |
tree | d3cde590a04fafb28e4e24c0d77f0289a1c80550 /src | |
parent | 50822aa2ac07175a96e65324627d5e31877ac40a (diff) | |
parent | 15fba1debca5498989048677ffda38758b2df984 (diff) |
Merge branch 'master' into compact
Diffstat (limited to 'src')
-rw-r--r-- | src/pugixml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index dd7ce21..41175ad 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -2899,7 +2899,7 @@ PUGI__NS_BEGIN PUGI__SCANFOR(s[0] == '-' && s[1] == '-' && s[2] == '>'); // no need for ENDSWITH because --> can't terminate proper doctype if (!*s) PUGI__THROW_ERROR(status_bad_doctype, s); - s += 4; + s += 3; } else PUGI__THROW_ERROR(status_bad_doctype, s); |