From: Joerg Pietschmann Date: Thu, 13 Feb 2003 21:26:43 +0000 (+0000) Subject: Fixed comparision with push character count. X-Git-Tag: Alt-Design-integration-base~112 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2225023448fc23e22607228130b618a10ec63c2f;p=xmlgraphics-fop.git 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 --- 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; } }