summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-02 01:36:39 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-02 01:36:39 +0000
commit6d957b2f1198514243b62abb381a876184d0a684 (patch)
tree18fabb2d8cc4bd26cecd6262ed3eccf9ea2ceab7 /complex.c
parentf43b38abad6282809b2573d0bf8d364dbdd77869 (diff)
complex.c: fix indentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/complex.c b/complex.c
index c4d4f80848..de06151683 100644
--- a/complex.c
+++ b/complex.c
@@ -72,21 +72,21 @@ inline static VALUE
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);