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

ruby-changes:54469

From: mrkn <ko1@a...>
Date: Wed, 2 Jan 2019 10:36:44 +0900 (JST)
Subject: [ruby-changes:54469] mrkn:r66684 (trunk): complex.c: fix indentation

mrkn	2019-01-02 10:36:39 +0900 (Wed, 02 Jan 2019)

  New Revision: 66684

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

  Log:
    complex.c: fix indentation

  Modified files:
    trunk/complex.c
Index: complex.c
===================================================================
--- complex.c	(revision 66683)
+++ complex.c	(revision 66684)
@@ -72,21 +72,21 @@ inline static VALUE https://github.com/ruby/ruby/blob/trunk/complex.c#L72
 f_add(VALUE x, VALUE y)
 {
     if (FIXNUM_ZERO_P(y))
-	return x;
+        return x;
     if (FIXNUM_ZERO_P(x))
-	return y;
+        return y;
 
     if (RB_INTEGER_TYPE_P(x) &&
         UNLIKELY(rb_method_basic_definition_p(rb_cInteger, idPLUS))) {
-      return rb_int_plus(x, y);
+        return rb_int_plus(x, y);
     }
     else if (RB_FLOAT_TYPE_P(x) &&
              UNLIKELY(rb_method_basic_definition_p(rb_cFloat, idPLUS))) {
-      return rb_float_plus(x, y);
+        return rb_float_plus(x, y);
     }
     else if (RB_TYPE_P(x, T_RATIONAL) &&
              UNLIKELY(rb_method_basic_definition_p(rb_cRational, idPLUS))) {
-      return rb_rational_plus(x, y);
+        return rb_rational_plus(x, y);
     }
 
     return rb_funcall(x, '+', 1, y);

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

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