From 9c4b9f5c945b4818f583fb895b77311e9fcf2db2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 30 Jun 2011 17:51:58 +0000 Subject: Fix up RISC OS front end. svn path=/trunk/netsurf/; revision=12545 --- riscos/treeview.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'riscos/treeview.c') diff --git a/riscos/treeview.c b/riscos/treeview.c index c5f1cd526..91f0c19ab 100644 --- a/riscos/treeview.c +++ b/riscos/treeview.c @@ -317,8 +317,6 @@ void ro_treeview_redraw_request(int x, int y, int width, int height, wimp_draw update; osbool more; - plot = ro_plotters; - update.w = tv->w; update.box.x0 = (2 * x) + tv->origin.x; update.box.y0 = (-2 * (y + height)) + tv->origin.y; @@ -404,7 +402,7 @@ void ro_treeview_redraw_loop(wimp_draw *redraw, ro_treeview *tv, osbool more) clip.y0 = (ro_plot_origin_y - redraw->clip.y1) / 2; clip.x1 = (redraw->clip.x1 - ro_plot_origin_x) / 2; clip.y1 = (ro_plot_origin_y - redraw->clip.y0) / 2; - plot.clip(&clip); + ro_plotters.clip(&clip); } error = xwimp_get_rectangle(redraw, &more); -- cgit v1.2.3