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/gui/status_bar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'riscos/gui/status_bar.c') diff --git a/riscos/gui/status_bar.c b/riscos/gui/status_bar.c index 1cd10e44c..e01ae3c5d 100644 --- a/riscos/gui/status_bar.c +++ b/riscos/gui/status_bar.c @@ -449,7 +449,6 @@ void ro_gui_status_bar_redraw(wimp_draw *redraw) assert(sb); /* initialise the plotters */ - plot = ro_plotters; ro_plot_origin_x = 0; ro_plot_origin_y = 0; @@ -487,7 +486,7 @@ void ro_gui_status_bar_redraw(wimp_draw *redraw) } /* separate the widget from the text with a line */ - plot.rectangle((redraw->box.x0 + sb->width - WIDGET_WIDTH - 2) >> 1, + ro_plotters.rectangle((redraw->box.x0 + sb->width - WIDGET_WIDTH - 2) >> 1, -redraw->box.y0 >> 1, (redraw->box.x0 + sb->width - WIDGET_WIDTH) >> 1, -redraw->box.y1 >> 1, -- cgit v1.2.3