diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 10:05:48 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 10:05:48 +0000 |
| commit | a2e5eb8e8f9c45892f89090e86c98ccd07e39251 (patch) | |
| tree | c732de0ec07b8e0b9652afe7a27c00c844e7d0ed /enc | |
| parent | 571467034c547fb2192d221f9f762ec7d7e39858 (diff) | |
| download | ruby-a2e5eb8e8f9c45892f89090e86c98ccd07e39251.tar.gz ruby-a2e5eb8e8f9c45892f89090e86c98ccd07e39251.tar.xz ruby-a2e5eb8e8f9c45892f89090e86c98ccd07e39251.zip | |
* enc/shift_jis.c (code_is_ctype): HALF WIDTH KATAKANA is
a character.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
| -rw-r--r-- | enc/shift_jis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/shift_jis.c b/enc/shift_jis.c index 087e7f729..f74afffa9 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; } } } |
