mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Fix wrong assertion message string
You just cannot print dom_string structs with %s.
This commit is contained in:
parent
be3223b38e
commit
d1635d6970
@ -236,7 +236,7 @@ init_dom_node_(unsigned char *file, int line,
|
|||||||
int sort = (type == DOM_NODE_ATTRIBUTE);
|
int sort = (type == DOM_NODE_ATTRIBUTE);
|
||||||
int index;
|
int index;
|
||||||
|
|
||||||
assertm(list, "Adding %s to bad parent %s",
|
assertm(list, "Adding node to bad parent",
|
||||||
get_dom_node_type_name(node->type),
|
get_dom_node_type_name(node->type),
|
||||||
get_dom_node_type_name(parent->type));
|
get_dom_node_type_name(parent->type));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user