This commit is contained in:
David 2026-10-25 06:12:12 +00:00 • committed by GitHub
commit 40ad4bbb9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -716,7 +716,7 @@ POLYLINE(DrawablePtr pDrawable,
}
e = -len;
e1 <<= 1;
e3 = e << 1;
e3 = e * 2;
FIXUP_ERROR(e, octant, bias);
if (and == 0) {
while (len--) {
@ -875,7 +875,7 @@ POLYSEGMENT(DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment * pseg)
}
e = -len;
e1 <<= 1;
e3 = e << 1;
e3 = e * 2;
FIXUP_ERROR(e, octant, bias);
if (!capNotLast)
len++;