diff options
author | Johannes Hofmann <johannes.hofmann@gmx.de> | 2016-03-06 10:50:48 +0100 |
---|---|---|
committer | Johannes Hofmann <johannes.hofmann@gmx.de> | 2016-03-06 10:50:48 +0100 |
commit | 0cad0bdfb9b44d181b9e087f7cf84e264a34936a (patch) | |
tree | 5c70f86e455e07d6363b3260b5b7baf148ad9475 | |
parent | a15e89ad0fe91c64079a437e88c456b876578d60 (diff) | |
parent | 331d95156546f451028f561939e60e06d9e06852 (diff) |
merge
-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)); } |