From d926fa9f604c2d06c0642c97515bfaac5d7fc31d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 12 May 2006 21:48:32 +0000 Subject: (svn r4855) - Fix r4854: Remove 4 character offset, as buff is already in correct place. --- strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strings.c b/strings.c index 73dbabdcc..84439828d 100644 --- a/strings.c +++ b/strings.c @@ -329,7 +329,7 @@ static char *FormatYmdString(char *buff, uint16 number) for (src = GetStringPtr(STR_0162_JAN + ymd.month); (*buff++ = *src++) != '\0';) {} buff[-1] = ' '; - return FormatNoCommaNumber(buff + 4, ymd.year + MAX_YEAR_BEGIN_REAL); + return FormatNoCommaNumber(buff, ymd.year + MAX_YEAR_BEGIN_REAL); } static char *FormatMonthAndYear(char *buff, uint16 number) -- cgit v1.2.3-70-g09d2