diff options
-rw-r--r-- | dw/hyphenator.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/dw/hyphenator.cc b/dw/hyphenator.cc index 2811a818..601e98f9 100644 --- a/dw/hyphenator.cc +++ b/dw/hyphenator.cc @@ -224,17 +224,6 @@ bool Hyphenator::isHyphenationCandidate (const char *word) */ bool Hyphenator::isCharPartOfActualWord (char *s) { -#if 0 - // Return true when "s" points to a letter. - return (s[0] >= 'a' && s[0] <= 'z') || - // UTF-8: starts with 0xc3 - ((unsigned char)s[0] == 0xc3 && - ((unsigned char)s[1] == 0xa4 /* ä */ || - (unsigned char)s[1] == 0xb6 /* ö */ || - (unsigned char)s[1] == 0xbc /* ü */ || - (unsigned char)s[1] == 0x9f /* ß */ )); -#endif - return isAlpha (decodeUtf8 (s)); } |