From f137f6957a7659aae5827ac82c11ef9661961afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 11 Nov 1997 04:46:08 +0100 Subject: [PATCH] Added encodings/gif.h. Rev: src/modules/Image/togif.c:1.26 --- src/modules/Image/togif.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/modules/Image/togif.c b/src/modules/Image/togif.c index e63b2cfe0f..cdbd486bef 100644 --- a/src/modules/Image/togif.c +++ b/src/modules/Image/togif.c @@ -2,7 +2,7 @@ togif -$Id: togif.c,v 1.25 1997/11/08 02:52:53 grubba Exp $ +$Id: togif.c,v 1.26 1997/11/11 03:46:08 grubba Exp $ old GIF API compat stuff @@ -11,7 +11,7 @@ old GIF API compat stuff /* **! module Image **! note -**! $Id: togif.c,v 1.25 1997/11/08 02:52:53 grubba Exp $ +**! $Id: togif.c,v 1.26 1997/11/11 03:46:08 grubba Exp $ **! class image */ @@ -35,6 +35,7 @@ old GIF API compat stuff #include "image.h" #include "colortable.h" +#include "encodings/gif.h" #define THIS ((struct image *)(fp->current_storage)) #define THISOBJ (fp->current_object) @@ -187,7 +188,7 @@ static void img_gif_add(INT32 args,int fs,int lm, } if (fs) image_colortable_internal_floyd_steinberg( - get_storage(ncto,image_colortable_program)); + (struct neo_colortable *)get_storage(ncto,image_colortable_program)); pop_n_elems(args); @@ -203,7 +204,8 @@ static void img_gif_add(INT32 args,int fs,int lm, { unsigned char trd; - image_colortable_index_8bit_image(get_storage(ncto, + image_colortable_index_8bit_image((struct neo_colortable *) + get_storage(ncto, image_colortable_program), transparent,&trd,1,1); -- GitLab