mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 15:11:54 +00:00
(svn r4855) - Fix r4854: Remove 4 character offset, as buff is already in correct place.
This commit is contained in:
parent
b7c7ec107e
commit
d926fa9f60
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user