From afdf72d7b58110b2848ed9be6b8c15cc45b59891 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 21 Aug 2012 15:27:52 +0100 Subject: 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. --- render/form.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'render/form.c') 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); } -- cgit v1.2.3