boundary condition on right, attempting to bypass

This commit is contained in:
Amy Bowersox 2019-12-10 14:41:41 -07:00
parent f5cab0010e
commit 2b9853fd4c

View File

@ -100,7 +100,7 @@ static BOOL internal_line(PDCTXT pdctxt, INT32 x1, INT32 y1, INT32 x2, INT32 y2)
{
INT32 buffer[4];
if (line_clip(buffer, x1 << CPX, y1 << CPX, x2 << CPX, y2 << CPX, pdctxt->cliprect.left << CPX, pdctxt->cliprect.top << CPX,
pdctxt->cliprect.right << CPX, pdctxt->cliprect.bottom << CPX))
(pdctxt->cliprect.right - 1) << CPX, (pdctxt->cliprect.bottom - 1) << CPX))
return (*pdctxt->funcs->line)(pdctxt->privdata, buffer[0] >> CPX, buffer[1] >> CPX, buffer[2] >> CPX, buffer[3] >> CPX, pdctxt->color, pdctxt->rop2);
return TRUE;
}