diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-07-21 14:11:16 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-07-21 14:11:16 +0000 |
commit | 0006f770f9dcc06b6c22999d627f3a27731dab92 (patch) | |
tree | 27813f74d27226e150a8e7113ef0f61131f1665e /src/java/org/apache | |
parent | 72035be677ea5ecbf5520e20d045dd92594a47e0 (diff) | |
download | xmlgraphics-fop-0006f770f9dcc06b6c22999d627f3a27731dab92.tar.gz xmlgraphics-fop-0006f770f9dcc06b6c22999d627f3a27731dab92.zip |
Fixed bug in drawBorderLine() implementation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@678428 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/render/afp/AFPRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/afp/AFPRenderer.java b/src/java/org/apache/fop/render/afp/AFPRenderer.java index 6e5f7bed4..bb65ca11f 100644 --- a/src/java/org/apache/fop/render/afp/AFPRenderer.java +++ b/src/java/org/apache/fop/render/afp/AFPRenderer.java @@ -476,7 +476,7 @@ public class AFPRenderer extends AbstractPathOrientedRenderer { coords[X1] += 2 * height; } } else { - while (y1 + width < y2) { + while (coords[Y1] + width < coords[Y2]) { afpDataStream.createLine( coords[X1], coords[Y1], |