aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layout
diff options
context:
space:
mode:
authorJoerg Pietschmann <pietsch@apache.org>2003-02-13 21:26:43 +0000
committerJoerg Pietschmann <pietsch@apache.org>2003-02-13 21:26:43 +0000
commit2225023448fc23e22607228130b618a10ec63c2f (patch)
tree6d9a1fa2e4906a622b2b5c7e7b5ca0a3bde24d2d /src/org/apache/fop/layout
parent4dadcb5d1eac31c8d166a5d83c2e93546d9986e5 (diff)
downloadxmlgraphics-fop-2225023448fc23e22607228130b618a10ec63c2f.tar.gz
xmlgraphics-fop-2225023448fc23e22607228130b618a10ec63c2f.zip
Fixed comparision with push character count.
Submitted by: jaccoud@petrobras.com.br git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195946 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layout')
-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;
}
}