[project @ 2004-10-19 21:17:16 by bursa]
Fix scaling of standalone images. svn path=/import/netsurf/; revision=1326
This commit is contained in:
parent
4ba346daa8
commit
1552896c9e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue