diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-30 17:51:58 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-30 17:51:58 +0000 |
commit | 9c4b9f5c945b4818f583fb895b77311e9fcf2db2 (patch) | |
tree | ace8a1eb2f89f91f0e1f6539fdba0d65f444e454 /riscos/gui/progress_bar.c | |
parent | 3bb83e034981807a2d675c608138cdf415aa65a4 (diff) | |
download | netsurf-9c4b9f5c945b4818f583fb895b77311e9fcf2db2.tar.gz netsurf-9c4b9f5c945b4818f583fb895b77311e9fcf2db2.tar.bz2 |
Fix up RISC OS front end.
svn path=/trunk/netsurf/; revision=12545
Diffstat (limited to 'riscos/gui/progress_bar.c')
-rw-r--r-- | riscos/gui/progress_bar.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/riscos/gui/progress_bar.c b/riscos/gui/progress_bar.c index 0afd7799e..445797611 100644 --- a/riscos/gui/progress_bar.c +++ b/riscos/gui/progress_bar.c @@ -473,7 +473,6 @@ void ro_gui_progress_bar_redraw_window(wimp_draw *redraw, int progress_ymid; /* initialise the plotters */ - plot = ro_plotters; ro_plot_origin_x = 0; ro_plot_origin_y = 0; @@ -502,14 +501,14 @@ void ro_gui_progress_bar_redraw_window(wimp_draw *redraw, redraw->box.y0 + pb->visible.y0) >> 1; if ((clip.x0 < clip.x1) && (clip.y0 < clip.y1)) { if (progress_icon) { - plot.clip(&clip); + ro_plotters.clip(&clip); _swix(Tinct_Plot, _IN(2) | _IN(3) | _IN(4) | _IN(7), progress_icon, redraw->box.x0 - pb->offset, progress_ymid - progress_height, tinct_FILL_HORIZONTALLY); } else { - plot.rectangle(clip.x0, clip.y0, + ro_plotters.rectangle(clip.x0, clip.y0, clip.x1, clip.y1, plot_style_fill_red); } |