summaryrefslogtreecommitdiff
path: root/src/html/html_tablerow_element.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/html_tablerow_element.c')
-rw-r--r--src/html/html_tablerow_element.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html/html_tablerow_element.c b/src/html/html_tablerow_element.c
index 0e4c3a8..e4d3514 100644
--- a/src/html/html_tablerow_element.c
+++ b/src/html/html_tablerow_element.c
@@ -201,9 +201,10 @@ dom_exception dom_html_table_row_element_get_row_index(
(dom_string_caseless_isequal(parent->name, doc->memoised[hds_TBODY]) ||
dom_string_caseless_isequal(parent->name, doc->memoised[hds_TFOOT]))) {
uint32_t len;
- n = parent->parent;
dom_html_table_section_element *t_head;
dom_html_collection *rows;
+
+ n = parent->parent;
exp = dom_html_table_element_get_t_head(
(dom_html_table_element *)(parent->parent),
&t_head);