From ed8778ddb3bdc1dffd58f69d378ebf3d72cd5723 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 6 Jul 2011 12:42:17 +0000 Subject: [PATCH] Fix up Amiga for r12574 API change. svn path=/trunk/netsurf/; revision=12575 --- amiga/gui.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 71410bcfb..b4506f3d6 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3303,17 +3303,15 @@ void gui_window_redraw_window(struct gui_window *g) g->shared->redraw_required = true; } -void gui_window_update_box(struct gui_window *g, - const union content_msg_data *data) +void gui_window_update_box(struct gui_window *g, const struct rect *rect) { ULONG sx,sy; if(!g) return; ami_do_redraw_limits(g, g->shared->bw, - data->redraw.x,data->redraw.y, - data->redraw.width+data->redraw.x, - data->redraw.height+data->redraw.y); + rect->x0, rect->y0, + rect->x1, rect->y1); } void ami_do_redraw(struct gui_window_2 *g)