summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-07 08:14:12 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-07 08:14:12 +0000
commit7199685dc6741c08324adb31462657161499399f (patch)
tree01902f537e209ed3d03abee1699b4aec06a2441c /enum.c
parent673dc51c251588be3c9f4b5b5486cd80d46dfeee (diff)
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/enum.c b/enum.c
index 3c6b7ee..5a30ac2 100644
--- a/enum.c
+++ b/enum.c
@@ -940,13 +940,13 @@ tally_up(VALUE hash, VALUE group)
{
VALUE tally = rb_hash_aref(hash, group);
if (NIL_P(tally)) {
- tally = INT2FIX(1);
+ tally = INT2FIX(1);
}
else if (FIXNUM_P(tally) && tally < INT2FIX(FIXNUM_MAX)) {
- tally += INT2FIX(1) & ~FIXNUM_FLAG;
+ tally += INT2FIX(1) & ~FIXNUM_FLAG;
}
else {
- tally = rb_big_plus(tally, INT2FIX(1));
+ tally = rb_big_plus(tally, INT2FIX(1));
}
rb_hash_aset(hash, group, tally);
}