summaryrefslogtreecommitdiff
path: root/src/html/html_text_area_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_text_area_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_text_area_element.c')
-rw-r--r--src/html/html_text_area_element.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/html/html_text_area_element.c b/src/html/html_text_area_element.c
index cb95920..887a2c0 100644
--- a/src/html/html_text_area_element.c
+++ b/src/html/html_text_area_element.c
@@ -365,7 +365,7 @@ dom_exception dom_html_text_area_element_get_type(
}
dom_exception dom_html_text_area_element_get_tab_index(
- dom_html_text_area_element *text_area, unsigned long *tab_index)
+ dom_html_text_area_element *text_area, long *tab_index)
{
return dom_html_element_get_long_property(&text_area->base, "tabindex",
SLEN("tabindex"), tab_index);
@@ -379,7 +379,7 @@ dom_exception dom_html_text_area_element_set_tab_index(
}
dom_exception dom_html_text_area_element_get_cols(
- dom_html_text_area_element *text_area, unsigned long *cols)
+ dom_html_text_area_element *text_area, long *cols)
{
return dom_html_element_get_long_property(&text_area->base, "cols",
SLEN("cols"), cols);
@@ -393,7 +393,7 @@ dom_exception dom_html_text_area_element_set_cols(
}
dom_exception dom_html_text_area_element_get_rows(
- dom_html_text_area_element *text_area, unsigned long *rows)
+ dom_html_text_area_element *text_area, long *rows)
{
return dom_html_element_get_long_property(&text_area->base, "rows",
SLEN("rows"), rows);