enc/iso_8859_4.c: adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
07ac66ccec
commit
a00ec4cf3a
@ -225,9 +225,9 @@ get_case_fold_codes_by_str(OnigCaseFoldType flag,
|
|||||||
|
|
||||||
#ifdef ONIG_CASE_MAPPING
|
#ifdef ONIG_CASE_MAPPING
|
||||||
static int
|
static int
|
||||||
case_map (OnigCaseFoldType* flagP, const OnigUChar** pp,
|
case_map(OnigCaseFoldType* flagP, const OnigUChar** pp,
|
||||||
const OnigUChar* end, OnigUChar* to, OnigUChar* to_end,
|
const OnigUChar* end, OnigUChar* to, OnigUChar* to_end,
|
||||||
const struct OnigEncodingTypeST* enc)
|
const struct OnigEncodingTypeST* enc)
|
||||||
{
|
{
|
||||||
OnigCodePoint code;
|
OnigCodePoint code;
|
||||||
OnigUChar *to_start = to;
|
OnigUChar *to_start = to;
|
||||||
@ -238,8 +238,8 @@ case_map (OnigCaseFoldType* flagP, const OnigUChar** pp,
|
|||||||
if (code==SHARP_s) {
|
if (code==SHARP_s) {
|
||||||
if (flags&ONIGENC_CASE_UPCASE) {
|
if (flags&ONIGENC_CASE_UPCASE) {
|
||||||
flags |= ONIGENC_CASE_MODIFIED;
|
flags |= ONIGENC_CASE_MODIFIED;
|
||||||
*to++ = 'S';
|
*to++ = 'S';
|
||||||
code = (flags&ONIGENC_CASE_TITLECASE) ? 's' : 'S';
|
code = (flags&ONIGENC_CASE_TITLECASE) ? 's' : 'S';
|
||||||
}
|
}
|
||||||
else if (flags&ONIGENC_CASE_FOLD) {
|
else if (flags&ONIGENC_CASE_FOLD) {
|
||||||
flags |= ONIGENC_CASE_MODIFIED;
|
flags |= ONIGENC_CASE_MODIFIED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user