summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-01-09 11:51:37 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-01-09 11:51:37 +0000
commit845cce4cf1930d2ab9953ac1a345c5d3bed1ed94 (patch)
tree92699fc0925504b58d4048da5c729b1ae9a22aed /entities.c
parent7b602b421ea8bf202a093b55500754ba89053ead (diff)
downloadlibxml2-845cce4cf1930d2ab9953ac1a345c5d3bed1ed94.tar.gz
Anthony Jones pointed a bug in xmlCopyEntity() Daniel
* entities.c: Anthony Jones pointed a bug in xmlCopyEntity() Daniel
Diffstat (limited to 'entities.c')
-rw-r--r--entities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/entities.c b/entities.c
index 4cef5d24..b2cb3d46 100644
--- a/entities.c
+++ b/entities.c
@@ -865,7 +865,7 @@ xmlCopyEntity(xmlEntityPtr ent) {
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)