aboutsummaryrefslogtreecommitdiff
path: root/dw/hyphenator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/hyphenator.cc')
-rw-r--r--dw/hyphenator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/hyphenator.cc b/dw/hyphenator.cc
index 998b7975..b617993a 100644
--- a/dw/hyphenator.cc
+++ b/dw/hyphenator.cc
@@ -134,7 +134,7 @@ Vector <String> *Hyphenator::hyphenateWord(const char *word)
{
Vector <String> *pieces = new Vector <String> (1, true);
- if (!isHyphenationCandidate (word) <= 4) {
+ if (!isHyphenationCandidate (word)) {
pieces->put (new String (word));
return pieces;
}
@@ -184,7 +184,7 @@ Vector <String> *Hyphenator::hyphenateWord(const char *word)
points.put (new Integer (0), 2);
points.put (new Integer (0), points.size () - 2);
points.put (new Integer (0), points.size () - 3);
-
+
// Examine the points to build the pieces list.
char temp[strlen (word) + 1], *ptemp = temp;