summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c2
1 files changed, 1 insertions, 1 deletions
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);