aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLparser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-10-22 17:35:37 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-10-22 17:35:37 +0000
commite645e8c1414b53d96b6cca3c7691005b75b2e647 (patch)
tree48f6df0badc9d67f9bae6f5ddb22fa4345ac3ecd /HTMLparser.c
parentf000f0730381ec768d093c76689b4abb68d7b6cf (diff)
downloadandroid_external_libxml2-e645e8c1414b53d96b6cca3c7691005b75b2e647.tar.gz
android_external_libxml2-e645e8c1414b53d96b6cca3c7691005b75b2e647.tar.bz2
android_external_libxml2-e645e8c1414b53d96b6cca3c7691005b75b2e647.zip
Applied the VMS update patch from Craig A. Berry update Daniel
* vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
Diffstat (limited to 'HTMLparser.c')
-rw-r--r--HTMLparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index 7200a3b1..e4a52264 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -3200,7 +3200,7 @@ htmlParseReference(htmlParserCtxtPtr ctxt) {
ctxt->sax->characters(ctxt->userData, BAD_CAST "&", 1);
return;
}
- if ((ent == NULL) || (ent->value <= 0)) {
+ if ((ent == NULL) || !(ent->value > 0)) {
htmlCheckParagraph(ctxt);
if ((ctxt->sax != NULL) && (ctxt->sax->characters != NULL)) {
ctxt->sax->characters(ctxt->userData, BAD_CAST "&", 1);