summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-11-17 14:03:33 (GMT)
committer Daniel Silverstone <dsilvers@digital-scurf.org>2013-11-17 14:03:33 (GMT)
commit7489fa9c960d480029c22d029c35cc2677327a8d (patch)
treec258f126753c7f8ccf234fd2fdd45865fdda2e46
parent8a275902a7bf5118e0c08262bd64a48b20824d1b (diff)
downloadlibdom-7489fa9c960d480029c22d029c35cc2677327a8d.tar.gz
libdom-7489fa9c960d480029c22d029c35cc2677327a8d.tar.bz2
Fix some broken asserts
-rw-r--r--src/core/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/node.c b/src/core/node.c
index a59cc01..072fdcd 100644
--- a/src/core/node.c
+++ b/src/core/node.c
@@ -2184,8 +2184,8 @@ dom_exception _dom_merge_adjacent_text(dom_node_internal *p,
dom_string *str;
dom_exception err;
- assert(p->type = DOM_TEXT_NODE);
- assert(n->type = DOM_TEXT_NODE);
+ assert(p->type == DOM_TEXT_NODE);
+ assert(n->type == DOM_TEXT_NODE);
err = dom_text_get_whole_text(n, &str);
if (err != DOM_NO_ERR)