aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-27 07:10:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-27 07:10:14 +0000
commitcc216f9aae241c2a4407a1d8253909b307df90bb (patch)
tree19d562d636600e0d8ab66133bd4584b8fbd1ad60 /time.c
parent057098bfdcdbdc5bbd26fb51a7f8a37e6f8a2547 (diff)
downloadruby-cc216f9aae241c2a4407a1d8253909b307df90bb.tar.gz
adjust indent and style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/time.c b/time.c
index 1539feb587..0c9bd14ec3 100644
--- a/time.c
+++ b/time.c
@@ -2561,7 +2561,8 @@ obj2subsecx(VALUE obj, VALUE *subsecx)
if (RB_TYPE_P(obj, T_STRING)) {
obj = rb_str_to_inum(obj, 10, FALSE);
*subsecx = INT2FIX(0);
- } else {
+ }
+ else {
divmodv(num_exact(obj), INT2FIX(1), &obj, &subsec);
*subsecx = w2v(rb_time_magnify(v2w(subsec)));
}