diff options
author | Keiron Liddle <keiron@apache.org> | 2001-01-02 04:05:11 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-01-02 04:05:11 +0000 |
commit | 414070798e229232f01e60f9e7a3c9a8463353d8 (patch) | |
tree | eb183bb881fe9611d7af932028cee01f7c17cfe6 /src | |
parent | dc3bae1a3ca86083a93c1c574177d6c48623d42f (diff) | |
download | xmlgraphics-fop-414070798e229232f01e60f9e7a3c9a8463353d8.tar.gz xmlgraphics-fop-414070798e229232f01e60f9e7a3c9a8463353d8.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/org/apache/fop/fo/FOText.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |