summaryrefslogtreecommitdiff
path: root/riscos/treeview.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-06-30 17:51:58 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-06-30 17:51:58 +0000
commit9c4b9f5c945b4818f583fb895b77311e9fcf2db2 (patch)
treeace8a1eb2f89f91f0e1f6539fdba0d65f444e454 /riscos/treeview.c
parent3bb83e034981807a2d675c608138cdf415aa65a4 (diff)
downloadnetsurf-9c4b9f5c945b4818f583fb895b77311e9fcf2db2.tar.gz
netsurf-9c4b9f5c945b4818f583fb895b77311e9fcf2db2.tar.bz2
Fix up RISC OS front end.
svn path=/trunk/netsurf/; revision=12545
Diffstat (limited to 'riscos/treeview.c')
-rw-r--r--riscos/treeview.c4
1 files changed, 1 insertions, 3 deletions
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);