summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-05-21 23:42:26 +0000
committerJames Bursa <james@netsurf-browser.org>2004-05-21 23:42:26 +0000
commit4a500f5614a9f238a144d05388dcb41b76f2c9f7 (patch)
treeb484714a9457bed566798e2fcac0650279b5de0d /riscos
parentbb9149e93bed263f27ea572f5b89fa9aa1775595 (diff)
downloadnetsurf-4a500f5614a9f238a144d05388dcb41b76f2c9f7.tar.gz
netsurf-4a500f5614a9f238a144d05388dcb41b76f2c9f7.tar.bz2
[project @ 2004-05-21 23:42:26 by bursa]
Fix and clean code for radio and checkbox inputs. svn path=/import/netsurf/; revision=884
Diffstat (limited to 'riscos')
-rw-r--r--riscos/htmlredraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c
index 6c61c0c94..934a3abf1 100644
--- a/riscos/htmlredraw.c
+++ b/riscos/htmlredraw.c
@@ -227,12 +227,12 @@ void html_redraw_box(struct content *content, struct box * box,
} else if (box->gadget && box->gadget->type == GADGET_CHECKBOX) {
html_redraw_checkbox(x + padding_left, y - padding_top,
width, height,
- box->gadget->data.checkbox.selected);
+ box->gadget->selected);
} else if (box->gadget && box->gadget->type == GADGET_RADIO) {
html_redraw_radio(x + padding_left, y - padding_top,
width, height,
- box->gadget->data.radio.selected);
+ box->gadget->selected);
} else if (box->gadget && box->gadget->type == GADGET_FILE) {
colourtrans_set_font_colours(box->font->handle,