[comp.windows.x] X10.4 modifcations for Sun

dcmartin@AVALON.BERKELEY.EDU (David C. Martin) (10/24/87)

If anyone picked up the modifications for libsun from postgres.Berkeley.EDU,
there was a bug in StippleFill.  Here is the patch.

dcm
--------
2c2
< static char rcsid[] = "$Header: fill.c,v 10.5 87/10/21 16:17:01 dcmartin Exp $";
---
> static char rcsid[] = "$Header: fill.c,v 10.8 87/10/24 11:06:17 dcmartin Exp $";
208,209c208,211
< 		REPLSTENCIL(PixRect, tleft, ttop, twidth, theight, op,
< 			    stencil_pr);
---
> 		REPLSTENCIL(PixRect, tleft, ttop, twidth, theight,
> 			    op | PIX_COLOR(fgcolor),
> 			    stencil_pr, 0, 0,
> 			    (struct pixrect *) NULL, 0, 0);
237,238c239,241
< 		pr_replrop(PixRect, tleft, ttop, twidth, theight, op,
< 			   stencil_pr, tleft & 15, ttop & 15);
---
> 		pr_replrop(PixRect, tleft, ttop, twidth, theight,
> 			   op,
> 			   stencil_pr, tleft, ttop);