From c733e0fbd053ffa80b83839c4114a2a28b3ed2ec Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 8 Sep 2012 15:57:36 +0100 Subject: Return value of -1 when asked to get value of long property that doesn't exist on the html element. --- src/html/html_button_element.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/html/html_button_element.c') diff --git a/src/html/html_button_element.c b/src/html/html_button_element.c index 68cb1a5..47fdb7b 100644 --- a/src/html/html_button_element.c +++ b/src/html/html_button_element.c @@ -196,7 +196,7 @@ SIMPLE_GET(type); SIMPLE_GET_SET(value); dom_exception dom_html_button_element_get_tab_index( - dom_html_button_element *button, unsigned long *tab_index) + dom_html_button_element *button, long *tab_index) { return dom_html_element_get_long_property(&button->base, "tabindex", SLEN("tabindex"), tab_index); -- cgit v1.2.3