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

ruby-changes:7922

From: tadf <ko1@a...>
Date: Sun, 21 Sep 2008 12:37:37 +0900 (JST)
Subject: [ruby-changes:7922] Ruby:r19443 (trunk): fixed indentation.

tadf	2008-09-21 12:37:30 +0900 (Sun, 21 Sep 2008)

  New Revision: 19443

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

  Log:
    fixed indentation.

  Modified files:
    trunk/numeric.c

Index: numeric.c
===================================================================
--- numeric.c	(revision 19442)
+++ numeric.c	(revision 19443)
@@ -2390,7 +2390,7 @@
 	long b = FIX2LONG(y);
 
 	if (b < 0)
-	  return rb_funcall(rb_rational_raw1(x), rb_intern("**"), 1, y);
+	    return rb_funcall(rb_rational_raw1(x), rb_intern("**"), 1, y);
 
 	if (b == 0) return INT2FIX(1);
 	if (b == 1) return x;
@@ -2411,7 +2411,7 @@
       case T_BIGNUM:
 
 	if (rb_funcall(y, '<', 1, INT2FIX(0)))
-	  return rb_funcall(rb_rational_raw1(x), rb_intern("**"), 1, y);
+	    return rb_funcall(rb_rational_raw1(x), rb_intern("**"), 1, y);
 
 	if (a == 0) return INT2FIX(0);
 	if (a == 1) return INT2FIX(1);

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

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