diff options
Diffstat (limited to 'mi/miwideline.c')
-rw-r--r-- | mi/miwideline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mi/miwideline.c b/mi/miwideline.c index 8888ca8bd..20bef031b 100644 --- a/mi/miwideline.c +++ b/mi/miwideline.c @@ -1168,6 +1168,10 @@ miLineProjectingCap (pDrawable, pGC, pixel, spanData, face, isLeft, xorg, yorg, } else if (dx == 0) { + if (dy < 0) { + dy = -dy; + isLeft = !isLeft; + } topy = yorgi; bottomy = yorgi + dy; if (isLeft) |