diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2018-04-08 19:23:50 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2018-04-08 19:23:50 +0000 |
commit | 92223bddedf0f8b964a62904f065b12563db8ae9 (patch) | |
tree | 4db447c9116342fb3c3ff8816aece790831680f0 /sys/teken/teken_wcwidth.h | |
parent | ac2605b1d19e8c4ef72d240d4b56f45c6c50d557 (diff) | |
download | src-92223bddedf0f8b964a62904f065b12563db8ae9.tar.gz src-92223bddedf0f8b964a62904f065b12563db8ae9.zip |
Pedantic polishing of code to please FlexeLint.
Approved by: ed
Notes
Notes:
svn path=/head/; revision=332297
Diffstat (limited to 'sys/teken/teken_wcwidth.h')
-rw-r--r-- | sys/teken/teken_wcwidth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/teken/teken_wcwidth.h b/sys/teken/teken_wcwidth.h index 838fb3dac422..43f1760ecb37 100644 --- a/sys/teken/teken_wcwidth.h +++ b/sys/teken/teken_wcwidth.h @@ -103,7 +103,7 @@ static int teken_wcwidth(teken_char_t ucs) /* if we arrive here, ucs is not a combining or C0/C1 control character */ - return 1 + + return 1 + (ucs >= 0x1100 && (ucs <= 0x115f || /* Hangul Jamo init. consonants */ ucs == 0x2329 || ucs == 0x232a || |