From 414070798e229232f01e60f9e7a3c9a8463353d8 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Tue, 2 Jan 2001 04:05:11 +0000 Subject: [PATCH] fixed slight error when determining if will generate area git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193937 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/FOText.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/apache/fop/fo/FOText.java b/src/org/apache/fop/fo/FOText.java index f282dcffe..19210c03e 100644 --- a/src/org/apache/fop/fo/FOText.java +++ b/src/org/apache/fop/fo/FOText.java @@ -102,7 +102,7 @@ public class FOText extends FONode { if(this.whiteSpaceCollapse == WhiteSpaceCollapse.FALSE && length > 0) { return true; } - for (int i = start; i < start + length - 1; i++) { + for (int i = start; i < start + length; i++) { char ch = ca[i]; if (!((ch == ' ') || (ch == '\n') || (ch == '\r') || (ch == '\t'))) { // whitespace -- 2.39.5