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_input_element.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/html/html_input_element.c') diff --git a/src/html/html_input_element.c b/src/html/html_input_element.c index aa3e05f..694eb22 100644 --- a/src/html/html_input_element.c +++ b/src/html/html_input_element.c @@ -356,7 +356,7 @@ SIMPLE_GET_SET(use_map); SIMPLE_GET_SET(value); dom_exception dom_html_input_element_get_tab_index( - dom_html_input_element *input, unsigned long *tab_index) + dom_html_input_element *input, long *tab_index) { return dom_html_element_get_long_property(&input->base, "tabindex", SLEN("tabindex"), tab_index); @@ -370,7 +370,7 @@ dom_exception dom_html_input_element_set_tab_index( } dom_exception dom_html_input_element_get_max_length( - dom_html_input_element *input, unsigned long *max_length) + dom_html_input_element *input, long *max_length) { return dom_html_element_get_long_property(&input->base, "maxlength", SLEN("maxlength"), max_length); -- cgit v1.2.3