aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
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],