summaryrefslogtreecommitdiff
path: root/render/form.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-21 15:27:52 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-21 15:27:52 +0100
commitafdf72d7b58110b2848ed9be6b8c15cc45b59891 (patch)
treecf6833e477b774ccdecd6716ea1eb45cc119d2da /render/form.c
parent7ffe9c2b5d85057876252896219f712663f9a6fc (diff)
downloadnetsurf-afdf72d7b58110b2848ed9be6b8c15cc45b59891.tar.gz
netsurf-afdf72d7b58110b2848ed9be6b8c15cc45b59891.tar.bz2
Confine box_at_point to the document it's given. Callers are now responsible for calling whatever functionality for object boxes. Remove last bw dereference from render directory. Remove a couple of unused functions.
Diffstat (limited to 'render/form.c')
-rw-r--r--render/form.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/render/form.c b/render/form.c
index 09579dc5b..f0596b3d2 100644
--- a/render/form.c
+++ b/render/form.c
@@ -1423,12 +1423,12 @@ void form_select_menu_callback(void *client_data,
* \param radio form control of type GADGET_RADIO
*/
-void form_radio_set(hlcache_handle *content,
+void form_radio_set(html_content *html,
struct form_control *radio)
{
struct form_control *control;
- assert(content);
+ assert(html);
assert(radio);
if (!radio->form)
return;
@@ -1447,12 +1447,12 @@ void form_radio_set(hlcache_handle *content,
if (control->selected) {
control->selected = false;
- html_redraw_a_box(content, control->box);
+ html__redraw_a_box(html, control->box);
}
}
radio->selected = true;
- html_redraw_a_box(content, radio->box);
+ html__redraw_a_box(html, radio->box);
}