diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-27 12:43:05 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-27 12:43:05 +0000 |
commit | 6e01a9651154dd6019768b4a3dc0b2a3dea9c11e (patch) | |
tree | e35dd44e8b90fa97b8ebc9ded2cc96dee82685eb /strftime.c | |
parent | c4ed9fad73ca15028835b4ec14e182214b76b789 (diff) | |
download | ruby-6e01a9651154dd6019768b4a3dc0b2a3dea9c11e.tar.gz ruby-6e01a9651154dd6019768b4a3dc0b2a3dea9c11e.tar.xz ruby-6e01a9651154dd6019768b4a3dc0b2a3dea9c11e.zip |
* strftime.c (rb_strftime): should add padding for %%.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20379 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 79c5fe4fa..248c695e0 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; |