From 883907d6122fc5b1726ab4d224faa9e32986dbcf Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 24 Mar 2012 20:48:02 +0000 Subject: s/XML_ELEMENT_NODE/DOM_ELEMENT_NODE svn path=/trunk/netsurf/; revision=13624 --- render/html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') diff --git a/render/html.c b/render/html.c index 7c8d41dc1..8d5fd8867 100644 --- a/render/html.c +++ b/render/html.c @@ -1566,7 +1566,7 @@ static bool html_find_stylesheets(html_content *c, dom_node *html) assert(node != NULL); exc = dom_node_get_node_type(node, &type); - if (exc != DOM_NO_ERR || type != XML_ELEMENT_NODE) + if (exc != DOM_NO_ERR || type != DOM_ELEMENT_NODE) continue; exc = dom_node_get_node_name(node, &name); -- cgit v1.2.3