[xml] Small fix for xmlCopyEntity()
- From: Anthony Jones <amj30 hermes cam ac uk>
- To: <xml gnome org>
- Subject: [xml] Small fix for xmlCopyEntity()
- Date: Wed, 9 Jan 2002 11:45:51 +0000 (GMT)
Hi,
There seems to be a typo in entities.c - xmlCopyEntity() returns an
xmlEntityPtr, so cur->type should be XML_ENTITY_DECL.
Anthony
--- entities.c 5 Dec 2001 20:16:08 -0000 1.1.1.1
+++ entities.c 9 Jan 2002 03:28:30 -0000
@@ -865,7 +865,7 @@
return(NULL);
}
memset(cur, 0, sizeof(xmlEntity));
- cur->type = XML_ELEMENT_DECL;
+ cur->type = XML_ENTITY_DECL;
cur->etype = ent->etype;
if (ent->name != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]