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

ruby-changes:33777

From: nobu <ko1@a...>
Date: Wed, 7 May 2014 16:34:41 +0900 (JST)
Subject: [ruby-changes:33777] nobu:r45858 (trunk): numeric.c: indent

nobu	2014-05-07 16:34:33 +0900 (Wed, 07 May 2014)

  New Revision: 45858

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

  Log:
    numeric.c: indent
    
    * numeric.c (ruby_num_interval_step_size): adjust indent.

  Modified files:
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 45857)
+++ numeric.c	(revision 45858)
@@ -1847,8 +1847,8 @@ ruby_num_interval_step_size(VALUE from, https://github.com/ruby/ruby/blob/trunk/numeric.c#L1847
 	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);

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

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