Branch: Tag:

1998-04-24

1998-04-24 13:51:03 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

i don't wan't unneccesary braces in if-statements!

Rev: src/modules/Image/blit.c:1.29
Rev: src/modules/Image/colortable.c:1.45
Rev: src/modules/Image/font.c:1.35
Rev: src/modules/Image/matrix.c:1.17
Rev: src/modules/Image/polyfill.c:1.26
Rev: src/modules/Image/testsuite.in:1.11
Rev: src/modules/Image/togif.c:1.32
Rev: src/modules/Image/x.c:1.19

2:      togif    - $Id: togif.c,v 1.31 1998/04/20 18:53:34 grubba Exp $ + $Id: togif.c,v 1.32 1998/04/24 13:51:03 mirar Exp $      old GIF API compat stuff   
11:   /*   **! module Image   **! note - **! $Id: togif.c,v 1.31 1998/04/20 18:53:34 grubba Exp $ + **! $Id: togif.c,v 1.32 1998/04/24 13:51:03 mirar Exp $   **! class image   */   
318:    img->rgb.r=(unsigned char)sp[-args+args_start].u.integer;    img->rgb.g=(unsigned char)sp[1-args+args_start].u.integer;    img->rgb.b=(unsigned char)sp[2-args+args_start].u.integer; -  if (args-args_start>=4) { +  if (args-args_start>=4)    if (sp[3-args+args_start].type!=T_INT)    error("Illegal alpha argument to %s\n",name);    else    img->alpha=sp[3-args+args_start].u.integer; -  } else +  else    img->alpha=0;   }