From 3ed8d565d468714b3958558c64c73533455c82e8 Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 13 Nov 2002 13:26:05 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1514 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/common/strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/common/strftime.c b/libsrc/common/strftime.c index 979f40c2a..467d13516 100644 --- a/libsrc/common/strftime.c +++ b/libsrc/common/strftime.c @@ -166,7 +166,7 @@ size_t __fastcall__ strftime (char* buf, size_t bufsize, const char* format, break; case 'b': - sprintf (arg, "%.3s", months[tm->tm_mday]); + sprintf (arg, "%.3s", months[tm->tm_mon]); break; case 'c':