summaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/html_element.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/html_element.c b/src/html/html_element.c
index 023e51ca..5d3df376 100644
--- a/src/html/html_element.c
+++ b/src/html/html_element.c
@@ -526,7 +526,7 @@ dom_exception dom_html_element_set_int32_t_property(dom_html_element *ele,
if (err != DOM_NO_ERR)
goto cleanup;
- err = dom_element_set_attribute(ele, svalue, str);
+ err = dom_element_set_attribute(ele, str, svalue);
dom_string_unref(svalue);
cleanup: