diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-08 11:44:12 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-08 11:44:12 +0000 |
commit | e46874f4f5c374937978c45d2771f17ee172c491 (patch) | |
tree | 7e09e779c611ba4666f6922b3c5784d6fb09c024 /enc | |
parent | ac277a45fa3a1f7530cda1a2e92dce1d473ae662 (diff) | |
download | ruby-e46874f4f5c374937978c45d2771f17ee172c491.tar.gz |
* string.c, enc/unicode.c: Disassociating ONIGENC_CASE_FOLD flag from
ONIGENC_CASE_DOWNCASE.
(with Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r-- | enc/unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/unicode.c b/enc/unicode.c index 8b2d4386f8..96294f7c3c 100644 --- a/enc/unicode.c +++ b/enc/unicode.c @@ -651,7 +651,7 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP, } } else if (code>='A' && code<='Z') { - if (flags&ONIGENC_CASE_DOWNCASE) { + if (flags&(ONIGENC_CASE_DOWNCASE|ONIGENC_CASE_FOLD)) { MODIFIED; if (flags&ONIGENC_CASE_FOLD_TURKISH_AZERI && code=='I') code = DOTLESS_i; |