From 1552896c9e22e6e9b0f6cbd37337348f92da939f Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 19 Oct 2004 21:17:16 +0000 Subject: [project @ 2004-10-19 21:17:16 by bursa] Fix scaling of standalone images. svn path=/import/netsurf/; revision=1326 --- riscos/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos') diff --git a/riscos/window.c b/riscos/window.c index 033193379..0ef336453 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -450,7 +450,7 @@ void ro_gui_window_redraw(struct gui_window *g, wimp_draw *redraw) clip_x1 = (redraw->clip.x1 - ro_plot_origin_x) / 2; clip_y1 = (ro_plot_origin_y - redraw->clip.y0) / 2; content_redraw(c, 0, 0, - c->width * 2, c->height * 2, + c->width, c->height, clip_x0, clip_y0, clip_x1, clip_y1, g->option.scale, 0xFFFFFF); @@ -555,7 +555,7 @@ void gui_window_update_box(struct gui_window *g, } content_redraw(c, 0, 0, - c->width * 2, c->height * 2, + c->width, c->height, clip_x0, clip_y0, clip_x1, clip_y1, g->option.scale, 0xFFFFFF); -- cgit v1.2.3