Re: Drawing errors



Hi Vladimir,

On Wed, 2004-08-25 at 11:15, Vladimir Nadvornik wrote:
> > I was thinking slang might be involved. Could it cause these drawing
> > errors? Can you provide more details? Where is this off by one located?
> > Maybe you have a patch lying around?
> >
> 
> It is probably this patch:
> 
> # Bug fix http://bugs.debian.org/192025
> # off-by-one error when drawing horizontal lines
> # 
> diff -ruN slang-1.4.9-old/src/slsmg.c slang-1.4.9/src/slsmg.c
> --- slang-1.4.9-old/src/slsmg.c 2004-06-25 10:20:57.000000000 +0100
> +++ slang-1.4.9/src/slsmg.c     2004-06-25 10:11:09.000000000 +0100
> @@ -1709,7 +1709,7 @@
>     This_Color |= ALT_CHAR_FLAG;
>     This_Col = cmin;
>  
> -   SLsmg_draw_object(This_Row, This_Col, ch);
> +   // SLsmg_draw_object(This_Row, This_Col, ch);
>     while (n-- > 0)
>       {
>         SLsmg_draw_object(This_Row, This_Col, ch);

Indeed it is. Figured it out with some help from Jindrich. Proposed it
for inclusion in Fedora/Red Hat. Is SUSE already using that patch?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





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