aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
index 923c6261e..adb76846c 100644
--- a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java
@@ -806,7 +806,7 @@ public class TextLayoutManager extends LeafNodeLayoutManager {
LeafPosition pos = (LeafPosition) ((KnuthBox) el).getPosition();
int idx = pos.getLeafPos();
//element could refer to '-1' position, for non-collapsed spaces (?)
- if (idx >= -1) {
+ if (idx > -1) {
AreaInfo ai = (AreaInfo) vecAreaInfo.get(idx);
ai.iLScount++;
ai.ipdArea.add(letterSpaceIPD);