diff options
Diffstat (limited to 'src/org/apache/fop/layout/LineArea.java')
-rw-r--r-- | src/org/apache/fop/layout/LineArea.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/fop/layout/LineArea.java b/src/org/apache/fop/layout/LineArea.java index d0a13d1b0..6c1c68429 100644 --- a/src/org/apache/fop/layout/LineArea.java +++ b/src/org/apache/fop/layout/LineArea.java @@ -876,7 +876,7 @@ public class LineArea extends Area { private String getHyphenationWord(char[] characters, int wordStart) { boolean wordendFound = false; int counter = 0; - char[] newWord = new char[100]; // create a buffer + char[] newWord = new char[characters.length]; // create a buffer while ((!wordendFound) && ((wordStart + counter) < characters.length)) { char tk = characters[wordStart + counter]; |