summaryrefslogtreecommitdiff
path: root/src/html/html_button_element.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-09-08 15:57:36 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-09-08 15:57:36 +0100
commitc733e0fbd053ffa80b83839c4114a2a28b3ed2ec (patch)
tree39c684f6d317e32713311581f94ea12dfff3a851 /src/html/html_button_element.c
parente9f991799dd6ee22dcb8af367c72f58ac31e66ca (diff)
downloadlibdom-c733e0fbd053ffa80b83839c4114a2a28b3ed2ec.tar.gz
libdom-c733e0fbd053ffa80b83839c4114a2a28b3ed2ec.tar.bz2
Return value of -1 when asked to get value of long property that doesn't exist on the html element.
Diffstat (limited to 'src/html/html_button_element.c')
-rw-r--r--src/html/html_button_element.c2
1 files changed, 1 insertions, 1 deletions
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);