[前][次][番号順一覧][スレッド一覧]

ruby-changes:43555

From: nobu <ko1@a...>
Date: Sun, 10 Jul 2016 23:28:36 +0900 (JST)
Subject: [ruby-changes:43555] nobu:r55628 (trunk): enc/iso_8859_4.c: adjust indent [ci skip]

nobu	2016-07-10 23:28:25 +0900 (Sun, 10 Jul 2016)

  New Revision: 55628

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55628

  Log:
    enc/iso_8859_4.c: adjust indent [ci skip]

  Modified files:
    trunk/enc/iso_8859_4.c
Index: enc/iso_8859_4.c
===================================================================
--- enc/iso_8859_4.c	(revision 55627)
+++ enc/iso_8859_4.c	(revision 55628)
@@ -225,9 +225,9 @@ get_case_fold_codes_by_str(OnigCaseFoldT https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_4.c#L225
 
 #ifdef ONIG_CASE_MAPPING
 static int
-case_map (OnigCaseFoldType* flagP, const OnigUChar** pp,
-					 const OnigUChar* end, OnigUChar* to, OnigUChar* to_end,
-					 const struct OnigEncodingTypeST* enc)
+case_map(OnigCaseFoldType* flagP, const OnigUChar** pp,
+	 const OnigUChar* end, OnigUChar* to, OnigUChar* to_end,
+	 const struct OnigEncodingTypeST* enc)
 {
   OnigCodePoint code;
   OnigUChar *to_start = to;
@@ -238,8 +238,8 @@ case_map (OnigCaseFoldType* flagP, const https://github.com/ruby/ruby/blob/trunk/enc/iso_8859_4.c#L238
     if (code==SHARP_s) {
       if (flags&ONIGENC_CASE_UPCASE) {
 	flags |= ONIGENC_CASE_MODIFIED;
-	  *to++ = 'S';
-	  code = (flags&ONIGENC_CASE_TITLECASE) ? 's' : 'S';
+	*to++ = 'S';
+	code = (flags&ONIGENC_CASE_TITLECASE) ? 's' : 'S';
       }
       else if (flags&ONIGENC_CASE_FOLD) {
 	flags |= ONIGENC_CASE_MODIFIED;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]