Mercurial > hg > openttd
changeset 3833:c838fdfb8f60 draft
(svn r4855) - Fix r4854: Remove 4 character offset, as buff is already in correct place.
author | peter1138 <peter1138@openttd.org> |
---|---|
date | Fri, 12 May 2006 21:48:32 +0000 |
parents | 0517eb23939a |
children | 70976113058f |
files | strings.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/strings.c +++ b/strings.c @@ -329,7 +329,7 @@ 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)