From 76b96af73c57117131df42dee78947bdad922805 Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Thu, 16 Oct 2003 23:54:21 +0000 Subject: Patch by Finn Bock applied (bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23765: Words not fitting the current line were not appearing on the subsequent line when trailing spaces were included in the fo:block.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196966 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/LineLayoutManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit v1.2.3