aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-07-21 14:11:16 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-07-21 14:11:16 +0000
commit0006f770f9dcc06b6c22999d627f3a27731dab92 (patch)
tree27813f74d27226e150a8e7113ef0f61131f1665e /src/java/org/apache
parent72035be677ea5ecbf5520e20d045dd92594a47e0 (diff)
downloadxmlgraphics-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.java2
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],