diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-01-29 20:46:19 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-01-29 20:46:19 +0000 |
commit | 143ef44f06822f82a8358d4c02f07102d963fe5f (patch) | |
tree | f9080b8a265dd926053ee7ae187e8fa46f3fb5e0 /tc.nls.c | |
parent | 174d8b60324d7e8754709f7155e13ca95220b48c (diff) |
Diffstat (limited to 'tc.nls.c')
-rw-r--r-- | tc.nls.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -136,8 +136,10 @@ NLSClassify(Char c, int nocomb, int drawPrompt) if (c >= 0x100000) /* U+100000 = F4 80 80 80 */ return NLSCLASS_ILLEGAL3; #endif +#ifdef SHORT_STRINGS if (c >= 0x10000) /* U+10000 = F0 90 80 80 */ return NLSCLASS_ILLEGAL2; +#endif } if (Iscntrl(c) && (c & CHAR) < 0x100) { if (c == '\n') |