aboutsummaryrefslogtreecommitdiffstats
path: root/strftime.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-10 00:39:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-10 00:39:26 +0000
commitb83abc52e1d2fb022244b3f6970b9133d8ae57fe (patch)
treefe239dabe2f974c8af113bdcc2ca36ffd93d37f8 /strftime.c
parent4fb77a54986c2fa81b7105bc79fe9bf23c9db38a (diff)
downloadruby-b83abc52e1d2fb022244b3f6970b9133d8ae57fe.tar.gz
adjust styles [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'strftime.c')
-rw-r--r--strftime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/strftime.c b/strftime.c
index 025be94afb..ebb587c379 100644
--- a/strftime.c
+++ b/strftime.c
@@ -543,7 +543,8 @@ rb_strftime_with_timespec(VALUE ftime, const char *format, size_t format_len,
if (off < 0) {
off = -off;
sign = -1;
- } else {
+ }
+ else {
sign = +1;
}
switch (colons) {