diff options
| author | cremno <[email protected]> | 2014-03-04 21:40:17 +0100 |
|---|---|---|
| committer | cremno <[email protected]> | 2014-03-05 17:08:51 +0100 |
| commit | 69b231ece5fff7fe0c4c97514fc1bdd8150b714a (patch) | |
| tree | 02ea67879874dd8374e862fc85599b0faa8dc217 | |
| parent | 96d3bc2811ab593c3a48fb235d5c49260ee3ac67 (diff) | |
| download | mruby-69b231ece5fff7fe0c4c97514fc1bdd8150b714a.tar.gz mruby-69b231ece5fff7fe0c4c97514fc1bdd8150b714a.zip | |
mruby-time: fix indentation in mrb_time_asctime
| -rw-r--r-- | mrbgems/mruby-time/src/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mrbgems/mruby-time/src/time.c b/mrbgems/mruby-time/src/time.c index 88e201742..9cf7c2fd7 100644 --- a/mrbgems/mruby-time/src/time.c +++ b/mrbgems/mruby-time/src/time.c @@ -422,10 +422,10 @@ mrb_time_asctime(mrb_state *mrb, mrb_value self) tm = DATA_GET_PTR(mrb, self, &mrb_time_type, struct mrb_time); d = &tm->datetime; len = snprintf(buf, sizeof(buf), "%s %s %02d %02d:%02d:%02d %s%d", - wday_names[d->tm_wday], mon_names[d->tm_mon], d->tm_mday, - d->tm_hour, d->tm_min, d->tm_sec, - tm->timezone == MRB_TIMEZONE_UTC ? "UTC " : "", - d->tm_year + 1900); + wday_names[d->tm_wday], mon_names[d->tm_mon], d->tm_mday, + d->tm_hour, d->tm_min, d->tm_sec, + tm->timezone == MRB_TIMEZONE_UTC ? "UTC " : "", + d->tm_year + 1900); return mrb_str_new(mrb, buf, len); } |
