diff options
author | Sebastian Geerken <devnull@localhost> | 2016-03-05 20:19:02 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-03-05 20:19:02 +0100 |
commit | 331d95156546f451028f561939e60e06d9e06852 (patch) | |
tree | bb0c4ff80a46a43d61ae6d47d5d598fdb62afa9b | |
parent | 282faa039e4ee583aec865a72bb7a88cf3fa6a82 (diff) |
Cleanup.
-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)); } |