summaryrefslogtreecommitdiff
path: root/riscos/htmlredraw.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-12-27 00:11:57 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-12-27 00:11:57 +0000
commit59fb052818656e74162d7f026f7089ec42c1e8a0 (patch)
treee5b8bf21e2201adf5170f2bfde49ae4423902f63 /riscos/htmlredraw.c
parent2363d8f5af7302924a0ce3608d971f5594710f3f (diff)
downloadnetsurf-59fb052818656e74162d7f026f7089ec42c1e8a0.tar.gz
netsurf-59fb052818656e74162d7f026f7089ec42c1e8a0.tar.bz2
[project @ 2003-12-27 00:11:57 by jmb]
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce the most now. Hopefully I haven't broken anything ;) svn path=/import/netsurf/; revision=451
Diffstat (limited to 'riscos/htmlredraw.c')
-rw-r--r--riscos/htmlredraw.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c
index 60f95efe0..37ff71b10 100644
--- a/riscos/htmlredraw.c
+++ b/riscos/htmlredraw.c
@@ -131,7 +131,8 @@ void html_redraw_box(struct content *content, struct box * box,
}
if (box->object /*&& box->object->type != CONTENT_HTML*/) {
- content_redraw(box->object, x, y, width, height, x0, y0, x1, y1);
+ content_redraw(box->object, x, y, (unsigned int)width,
+ (unsigned int)height, x0, y0, x1, y1);
} else if (box->gadget &&
(box->gadget->type == GADGET_CHECKBOX ||
@@ -226,6 +227,14 @@ void html_redraw_box(struct content *content, struct box * box,
LOG(("writing GADGET RADIO"));
wimp_plot_icon(&icon);
break;
+ case GADGET_HIDDEN:
+ case GADGET_TEXTBOX:
+ case GADGET_TEXTAREA:
+ case GADGET_IMAGE:
+ case GADGET_PASSWORD:
+ case GADGET_SUBMIT:
+ case GADGET_RESET:
+ break;
}
} else if (box->text && box->font) {