1
0
Fork 0
Which mysteriously didn't get auto-merged when updating.
This commit is contained in:
Jonas Fonseca 2005-12-13 20:26:06 +01:00 committed by Jonas Fonseca
commit 87c8a5cee4
1 changed files with 2 additions and 3 deletions

View File

@ -236,9 +236,8 @@ init_dom_node_(unsigned char *file, int line,
int sort = (type == DOM_NODE_ATTRIBUTE);
int index;
assertm(list, "Adding node to bad parent",
get_dom_node_type_name(node->type),
get_dom_node_type_name(parent->type));
assertm(list, "Adding node %d to bad parent %d",
node->type, parent->type);
index = *list && (*list)->size > 0 && sort
? get_dom_node_map_index(*list, node) : -1;