diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-30 09:24:50 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-30 09:24:50 +0000 |
commit | 7367da56c0e018f8194dd92535f8db9d1983f6d7 (patch) | |
tree | 7b00bcbf04fb7f9c911f1d27d6318e11f34df8cf /strftime.c | |
parent | c16831bff746a443f6cfdc111b61c549f0aa0846 (diff) |
merges r20379 from trunk into ruby_1_9_1.
* strftime.c (rb_strftime): should add padding for %%.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'strftime.c')
-rw-r--r-- | strftime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/strftime.c b/strftime.c index 79c5fe4fa8..248c695e01 100644 --- a/strftime.c +++ b/strftime.c @@ -319,6 +319,7 @@ rb_strftime(char *s, size_t maxsize, const char *format, const struct tm *timept goto unknown; case '%': + FILL_PADDING(1); *s++ = '%'; continue; |