aboutsummaryrefslogtreecommitdiffstats
path: root/strftime.c
diff options
context:
space:
mode:
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) {