diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-12 21:48:32 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-12 21:48:32 +0000 |
commit | d926fa9f604c2d06c0642c97515bfaac5d7fc31d (patch) | |
tree | 8afedb32c5c8de23c39c8e757c9832a90febc4c3 | |
parent | b7c7ec107ee3931201c49f8a2a3f3611e034abd7 (diff) | |
download | openttd-d926fa9f604c2d06c0642c97515bfaac5d7fc31d.tar.xz |
(svn r4855) - Fix r4854: Remove 4 character offset, as buff is already in correct place.
-rw-r--r-- | strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |