From 6e01a9651154dd6019768b4a3dc0b2a3dea9c11e Mon Sep 17 00:00:00 2001 From: tadf Date: Thu, 27 Nov 2008 12:43:05 +0000 Subject: * 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 --- strftime.c | 1 + 1 file changed, 1 insertion(+) (limited to 'strftime.c') 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; -- cgit