aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/java/org/apache/fop/layoutmgr/LineLayoutManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
index 52b7d2f7d..fab50a379 100644
--- a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
@@ -321,7 +321,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager {
prevBP = getBestBP(vecPossEnd);
}
// Backup child LM if necessary
- if (bp != prevBP && !bp.couldEndLine()) {
+ if (bp != prevBP && !prevBP.couldEndLine()) {
reset();
}