summaryrefslogtreecommitdiff
path: root/enc/shift_jis.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/shift_jis.c')
-rw-r--r--enc/shift_jis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/shift_jis.c b/enc/shift_jis.c
index 087e7f7299..f74afffa92 100644
--- a/enc/shift_jis.c
+++ b/enc/shift_jis.c
@@ -313,7 +313,7 @@ is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc)
return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype);
else {
if (CTYPE_IS_WORD_GRAPH_PRINT(ctype)) {
- return (code_to_mbclen(code, enc) > 1 ? TRUE : FALSE);
+ return TRUE;
}
}
}