aboutsummaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/apache/fop/layout/hyphenation/HyphenationTree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/layout/hyphenation/HyphenationTree.java b/src/org/apache/fop/layout/hyphenation/HyphenationTree.java
index 380b4b67e..8ce4a021b 100644
--- a/src/org/apache/fop/layout/hyphenation/HyphenationTree.java
+++ b/src/org/apache/fop/layout/hyphenation/HyphenationTree.java
@@ -305,7 +305,7 @@ public class HyphenationTree extends TernaryTree implements PatternConsumer,
// hyphenation points are located where interletter value is odd
for (i = 0; i < len; i++) {
if (((il[i + 1] & 1) == 1) && i >= remainCharCount
- && i < (len - pushCharCount)) {
+ && i <= (len - pushCharCount)) {
result[k++] = i;
}
}