]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed comparision with push character count.
authorJoerg Pietschmann <pietsch@apache.org>
Thu, 13 Feb 2003 21:26:43 +0000 (21:26 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Thu, 13 Feb 2003 21:26:43 +0000 (21:26 +0000)
Submitted by: jaccoud@petrobras.com.br

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195946 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/layout/hyphenation/HyphenationTree.java

index 380b4b67e02f3ab22b94ae95b0a15cc48d50f35f..8ce4a021b7c5e6d297c7a154d36d6ef3a4ba16aa 100644 (file)
@@ -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;
                 }
             }