From c9ff2da70147b555bd7abb4650b7d016348de896 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 6 Jul 2011 12:51:11 +0000 Subject: Fix up Framebuffer for r12574 API change. svn path=/trunk/netsurf/; revision=12579 --- framebuffer/gui.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 644a917e0..1ca66f5b6 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -1320,16 +1320,14 @@ gui_window_redraw_window(struct gui_window *g) } void -gui_window_update_box(struct gui_window *g, const union content_msg_data *data) +gui_window_update_box(struct gui_window *g, const struct rect *rect) { struct browser_widget_s *bwidget = fbtk_get_userpw(g->browser); fb_queue_redraw(g->browser, - data->redraw.x - bwidget->scrollx, - data->redraw.y - bwidget->scrolly, - data->redraw.x - bwidget->scrollx + - data->redraw.width, - data->redraw.y - bwidget->scrolly + - data->redraw.height); + rect->x0 - bwidget->scrollx, + rect->y0 - bwidget->scrolly, + rect->x1 - bwidget->scrollx, + rect->y1 - bwidget->scrolly); } bool -- cgit v1.2.3