diff options
author | James Bursa <james@netsurf-browser.org> | 2004-10-17 21:12:32 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-10-17 21:12:32 +0000 |
commit | 63a4269651952a83e0ccb71a8eebb682395e4697 (patch) | |
tree | b06240aa4db60fa233e3acfa5f6a83447a33dd6a /image/gif.c | |
parent | de33b16b87cafa6751f4ceb9aa4582d05aecf72e (diff) | |
download | netsurf-63a4269651952a83e0ccb71a8eebb682395e4697.tar.gz netsurf-63a4269651952a83e0ccb71a8eebb682395e4697.tar.bz2 |
[project @ 2004-10-17 21:12:32 by bursa]
Replace bitmap_redraw() with plot.bitmap().
svn path=/import/netsurf/; revision=1316
Diffstat (limited to 'image/gif.c')
-rw-r--r-- | image/gif.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |