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

ruby-changes:12921

From: nobu <ko1@a...>
Date: Wed, 26 Aug 2009 09:49:02 +0900 (JST)
Subject: [ruby-changes:12921] Ruby:r24658 (trunk): * enc/unicode.c (onigenc_unicode_mbc_case_fold): balanced braces.

nobu	2009-08-26 09:48:49 +0900 (Wed, 26 Aug 2009)

  New Revision: 24658

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24658

  Log:
    * enc/unicode.c (onigenc_unicode_mbc_case_fold): balanced braces.

  Modified files:
    trunk/enc/unicode.c

Index: enc/unicode.c
===================================================================
--- enc/unicode.c	(revision 24657)
+++ enc/unicode.c	(revision 24658)
@@ -2249,10 +2249,11 @@
     }
 #if 0
     /* NO NEEDS TO CHECK */
-    else if ((flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) {
+    else if ((flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0)
 #else
-    else {
+    else
 #endif
+    {
       rlen = 0;
       for (i = 0; i < to->n; i++) {
 	len = ONIGENC_CODE_TO_MBC(enc, to->code[i], fold);

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

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