summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2012-12-31 00:25:29 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2012-12-31 00:25:29 (GMT)
commit04ca17132485801786e0555c31edf9d4ca82f2eb (patch)
treee2c316a2c6358ea882bf794d6085f9db6f5eb23c
parent7e8a1f4f60bd8189f097517b04d3f0a81f36324a (diff)
downloadlibdom-04ca17132485801786e0555c31edf9d4ca82f2eb.tar.gz
libdom-04ca17132485801786e0555c31edf9d4ca82f2eb.tar.bz2
Fix dom_node_set_text_content.
-rw-r--r--include/dom/core/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dom/core/node.h b/include/dom/core/node.h
index 668206f..35be6f0 100644
--- a/include/dom/core/node.h
+++ b/include/dom/core/node.h
@@ -481,7 +481,7 @@ static inline dom_exception dom_node_set_text_content(struct dom_node *node,
return ((dom_node_vtable *) node->vtable)->dom_node_set_text_content(
(dom_node_internal *) node, content);
}
-#define dom_node_set_text_content(n, c) dom_node_get_text_content( \
+#define dom_node_set_text_content(n, c) dom_node_set_text_content( \
(dom_node *) (n), (c))
static inline dom_exception dom_node_is_same(struct dom_node *node,