summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-07 07:34:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-07 07:34:33 +0000
commit5c5180256a16d004f7183bbedcc900ea26245c03 (patch)
tree3d90c7ca2acf25ddbed370ba6d8bb6a6dc8819ab /numeric.c
parent082a8864445f804a08ecf0f0cb8ae9a934435026 (diff)
numeric.c: indent
* numeric.c (ruby_num_interval_step_size): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 08849ba707..e3a8b87671 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1847,8 +1847,8 @@ ruby_num_interval_step_size(VALUE from, VALUE to, VALUE step, int excl)
VALUE result;
ID cmp = '>';
switch (rb_cmpint(rb_num_coerce_cmp(step, INT2FIX(0), id_cmp), step, INT2FIX(0))) {
- case 0: return DBL2NUM(INFINITY);
- case -1: cmp = '<'; break;
+ case 0: return DBL2NUM(INFINITY);
+ case -1: cmp = '<'; break;
}
if (RTEST(rb_funcall(from, cmp, 1, to))) return INT2FIX(0);
result = rb_funcall(rb_funcall(to, '-', 1, from), id_div, 1, step);