Re: Bug in libgnomecanvas...



tor 2003-09-11 klockan 16.45 skrev David Boucher:
> Hi all,

Hi!

I suggest that you add this patch to bugzilla instead. That way it won't
get lost.

Regards,
  Mikael Hallendal

> In the package libgnomecanvas-2.2.1 (Debian sid) and in the cvs version  
> too, I have found a little error in the file gnome-canvas-path-def.c
> 
> Here is a patch :
> 
> --- libgnomecanvas-2.2.1/libgnomecanvas/gnome-canvas-path-def.c 2002- 
> 05-06 18:40:12.000000000 +0200
> +++ libgnomecanvas-2.2.1-patch/libgnomecanvas/gnome-canvas-path-def.c    
> 2003-09-11 15:59:22.000000000 +0200
> @@ -345,7 +345,7 @@ gnome_canvas_path_def_concat (const GSLi
> 
>         for (l = list; l != NULL; l = l->next) {
>                 c = (GnomeCanvasPathDef *) l->data;
> -               memcpy (bp, c->bpath, c->end);
> +               memcpy (bp, c->bpath, c->end * sizeof (ArtBpath));
>                 bp += c->end;
>         }
> 
> 
> I hope it will be useful !
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
-- 
Mikael Hallendal                micke imendio com
Imendio                         http://www.imendio.com
Phone: +46 (0)709 718 918





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]