diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2001-10-11 22:55:55 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2001-10-11 22:55:55 +0000 |
| commit | b44025c72b7472971a061b022cfe422adc42715d (patch) | |
| tree | 8286242ccaba46dbede84aa092cce816cbc1f5aa /HTMLtree.c | |
| parent | 75b96824bccaeadd9e71eba9be7fab1bd88ac814 (diff) | |
| download | android_external_libxml2-b44025c72b7472971a061b022cfe422adc42715d.tar.gz android_external_libxml2-b44025c72b7472971a061b022cfe422adc42715d.tar.bz2 android_external_libxml2-b44025c72b7472971a061b022cfe422adc42715d.zip | |
started integrating the non-controversial parts of Gary Pennington
* HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c
parser.c valid.c xmlmemory.c xpath.c xpointer.c: started
integrating the non-controversial parts of Gary Pennington
multithread patches
* catalog.c: corrected a small bug introduced
Daniel
Diffstat (limited to 'HTMLtree.c')
| -rw-r--r-- | HTMLtree.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -451,8 +451,8 @@ htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, } if (cur->type == HTML_TEXT_NODE) { if (cur->content != NULL) { - if (((cur->name == xmlStringText) || - (cur->name != xmlStringTextNoenc)) && + if (((cur->name == (const xmlChar *)xmlStringText) || + (cur->name != (const xmlChar *)xmlStringTextNoenc)) && ((cur->parent == NULL) || (!xmlStrEqual(cur->parent->name, BAD_CAST "script")))) { xmlChar *buffer; @@ -949,8 +949,8 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, } if (cur->type == HTML_TEXT_NODE) { if (cur->content != NULL) { - if (((cur->name == xmlStringText) || - (cur->name != xmlStringTextNoenc)) && + if (((cur->name == (const xmlChar *)xmlStringText) || + (cur->name != (const xmlChar *)xmlStringTextNoenc)) && ((cur->parent == NULL) || (!xmlStrEqual(cur->parent->name, BAD_CAST "script")))) { xmlChar *buffer; |
