diff options
author | Sebastian Geerken <devnull@localhost> | 2016-04-03 14:30:10 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-04-03 14:30:10 +0200 |
commit | f20d99f012cf66369f8d896c4915a5444d8e04fe (patch) | |
tree | b8d30d5b10691fedcc0976435be1d71ae872fcfa /dw | |
parent | ac5f6eb878e615789029fd5cd36fb9d65c78277c (diff) | |
parent | 17601c3157a73965b23789285953953a54960ce2 (diff) |
Merge with main repo.
Diffstat (limited to 'dw')
-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)); } |