From 63a4269651952a83e0ccb71a8eebb682395e4697 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 17 Oct 2004 21:12:32 +0000 Subject: [project @ 2004-10-17 21:12:32 by bursa] Replace bitmap_redraw() with plot.bitmap(). svn path=/import/netsurf/; revision=1316 --- image/gif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'image/gif.c') diff --git a/image/gif.c b/image/gif.c index 7f66a03ae..042ceeef0 100644 --- a/image/gif.c +++ b/image/gif.c @@ -14,6 +14,7 @@ #include "netsurf/content/content.h" #include "netsurf/desktop/browser.h" #include "netsurf/desktop/options.h" +#include "netsurf/desktop/plotters.h" #include "netsurf/image/bitmap.h" #include "netsurf/image/gif.h" #include "netsurf/image/gifread.h" @@ -161,9 +162,8 @@ bool nsgif_redraw(struct content *c, int x, int y, } c->bitmap = c->data.gif.gif->frame_image; - return bitmap_redraw(c, x, y, width, height, - clip_x0, clip_y0, clip_x1, clip_y1, - scale, background_colour); + return plot.bitmap(x, y, width, height, + c->bitmap, background_colour); } -- cgit v1.2.3