Branch: Tag:

1998-01-16

1998-01-16 22:09:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed lots of warnings.

Rev: src/modules/Image/blit.c:1.27
Rev: src/modules/Image/colortable.c:1.34
Rev: src/modules/Image/encodings/gif.c:1.25
Rev: src/modules/Image/encodings/pnm.c:1.11
Rev: src/modules/Image/font.c:1.26
Rev: src/modules/Image/image.c:1.76
Rev: src/modules/Image/matrix.c:1.14
Rev: src/modules/Image/polyfill.c:1.19
Rev: src/modules/Image/togif.c:1.30
Rev: src/modules/Image/x.c:1.18

1: - /* $Id: font.c,v 1.25 1998/01/10 21:20:05 hubbe Exp $ */ + /* $Id: font.c,v 1.26 1998/01/16 22:09:10 grubba Exp $ */   #include <config.h>      #define SPACE_CHAR 'i'
6:   /*   **! module Image   **! note - **! $Id: font.c,v 1.25 1998/01/10 21:20:05 hubbe Exp $ + **! $Id: font.c,v 1.26 1998/01/16 22:09:10 grubba Exp $   **! class font   **!   **! note
259:    for (x=(INT32)ci->width; x>0; x--)    {    int r,c; -  if((c=255-*p)) +  if((c=255-*p)) {    if ((r=pos->r+c)>255)    pos->r=pos->g=pos->b=255;    else    pos->r=pos->g=pos->b=r; -  +  }    pos++;    p++;    }