[crossfire] Re: [Crossfire-cvs] CVS commit: client

Mark Wedel mwedel at sonic.net
Thu Jul 21 00:55:42 CDT 2005


Andreas Kirschbaum wrote:
>
     
     
      crossfire-cvs-admin at lists.sourceforge.net
      
       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?
     
     
  no, almost certainly a cut/paste issue from some other patch.


>
     
     
     >
     
      _______________________________________________
     
     >
     
      crossfire mailing list
     
     >
     
     
      crossfire at metalforge.org
      
      
     >
     
     
      http://mailman.metalforge.org/mailman/listinfo/crossfire
      
      
     
    


More information about the crossfire mailing list