[EMAIL PROTECTED] wrote:
> Module Name:  client
> Committed By: mwedel
> Date:         Sun Apr 17 04:47:13 UTC 2005
[...]
> Index: client/gtk/image.c
> diff -c client/gtk/image.c:1.22 client/gtk/image.c:1.23
[...]
> ***************
> *** 203,211 ****
>            */
>           p = (uint32*) (fog->pixels + i);
>           g = ( ((*p >> 24) & 0xff)  + ((*p >> 16) & 0xff) + ((*p >> 8) & 
> 0xff)) / 3;
> !         p = (g << 24) | (g << 16) | (g << 8) | (*p & 0xff);
> !         l = (uint32*) fog->pixels + i;
> !         *(uint32*) l = *p;
>       }
>
>       SDL_UnlockSurface(fog);
> --- 203,211 ----
>            */
>           p = (uint32*) (fog->pixels + i);
>           g = ( ((*p >> 24) & 0xff)  + ((*p >> 16) & 0xff) + ((*p >> 8) & 
> 0xff)) / 3;
> !             l = (uint32*) fog->pixels + i;
> ! +       *(uint32*) l = (g << 24) | (g << 16) | (g << 8) | (*p & 0xff);
> !

Is this plus sign at the beginning of the line really intentional?

_______________________________________________
crossfire mailing list
[email protected]
http://mailman.metalforge.org/mailman/listinfo/crossfire

Reply via email to