aboutsummaryrefslogtreecommitdiff
path: root/tc.nls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tc.nls.c')
-rw-r--r--tc.nls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tc.nls.c b/tc.nls.c
index f59df412e14a..0ceff85a124d 100644
--- a/tc.nls.c
+++ b/tc.nls.c
@@ -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')