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:
2
parser.c
2
parser.c
@ -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 != ';') {
|
||||
|
Reference in New Issue
Block a user