1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

Fixed = vs. == bug in parser.c (hrmless though) and type in sgml, Daniel.

This commit is contained in:
Daniel Veillard
1999-12-21 16:25:49 +00:00
parent 5cb5ab8d94
commit 0caf07a701
3 changed files with 7 additions and 2 deletions

View File

@ -855,7 +855,7 @@ xmlParseStringCharRef(xmlParserCtxtPtr ctxt, const xmlChar **str) {
if ((str == NULL) || (*str == NULL)) return(0);
ptr = *str;
cur = *ptr;
if ((cur = '&') && (ptr[1] == '#') && (ptr[2] == 'x')) {
if ((cur == '&') && (ptr[1] == '#') && (ptr[2] == 'x')) {
ptr += 3;
cur = *ptr;
while (cur != ';') {