Branch: Tag:

1997-03-18

1997-03-18 17:36:23 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

...

Rev: src/modules/Image/image.c:1.9
Rev: src/modules/Image/togif.c:1.5

4:      Pontus Hagland, law@infovav.se    - $Id: togif.c,v 1.4 1997/03/18 17:30:54 mirar Exp $ + $Id: togif.c,v 1.5 1997/03/18 17:36:23 mirar Exp $      */   
626:    struct colortable *ct=NULL;    dynamic_buffer buf;    int colors,bpp; -  int closest; +  int closest=0;      CHRONO("gif add init");   
650:    closest=1;    }    else if (args>3 && sp[2-args].type==T_INT) -  { +     ct=colortable_quant(THIS,max(256,min(2,sp[2-args].u.integer))); -  closest=0; -  } +        if (args>2+!!ct)    {