Fix up Amiga for r12574 API change.

svn path=/trunk/netsurf/; revision=12575
This commit is contained in:
Michael Drake 2011-07-06 12:42:17 +00:00
parent 727aa61bb6
commit ed8778ddb3
1 changed files with 3 additions and 5 deletions

View File

@ -3303,17 +3303,15 @@ void gui_window_redraw_window(struct gui_window *g)
g->shared->redraw_required = true; g->shared->redraw_required = true;
} }
void gui_window_update_box(struct gui_window *g, void gui_window_update_box(struct gui_window *g, const struct rect *rect)
const union content_msg_data *data)
{ {
ULONG sx,sy; ULONG sx,sy;
if(!g) return; if(!g) return;
ami_do_redraw_limits(g, g->shared->bw, ami_do_redraw_limits(g, g->shared->bw,
data->redraw.x,data->redraw.y, rect->x0, rect->y0,
data->redraw.width+data->redraw.x, rect->x1, rect->y1);
data->redraw.height+data->redraw.y);
} }
void ami_do_redraw(struct gui_window_2 *g) void ami_do_redraw(struct gui_window_2 *g)