r7672 - in trunk/BOOK: general/graphlib introduction/welcome

Agathoklis D. Hatzimanikas a.hatzim at gmail.com
Fri Dec 26 23:49:59 PST 2008


On Sat, Dec 27, at 01:40 Bruce Dubbs wrote:
> Bruce Dubbs wrote:
> 
> Also, the patch you uploaded is wrong.  It should be:
> 
> ndex: /trunk/imlib2/src/modules/loaders/loader_xpm.c
> ===================================================================
> --- /trunk/imlib2/src/modules/loaders/loader_xpm.c (revision 35900)
> +++ /trunk/imlib2/src/modules/loaders/loader_xpm.c (revision 37744)
> @@ -254,6 +254,6 @@
>                                 }
>                               ptr = im->data;
> -                            end = ptr + (sizeof(DATA32) * w * h);
>                               pixels = w * h;
> +                            end = ptr + (pixels);
>                            }
>                          else
> 
> Although the parens around the pixels variable do nothing.  Your patch has the 
> end= statement one line too soon.
> 

Thanks Bruce, I will fix it a little bit later.

Regards,
Ag.



More information about the blfs-book mailing list