Mercurial > hg > openttd
changeset 18228:e96148be8f1c draft
(svn r23064) -Fix (r23062): incrementing hexadecimal numbers is hard...
author | yexo <yexo@openttd.org> |
---|---|
date | Sat, 29 Oct 2011 21:00:11 +0000 |
parents | 7de1b3872c5e |
children | 31df2e8b9565 |
files | src/newgrf_text.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -584,7 +584,7 @@ case 0x17: case 0x18: case 0x19: - case 0x20: d += Utf8Encode(d, SCC_NEWGRF_PRINT_DWORD_DATE_LONG + code - 0x16); break; + case 0x1A: d += Utf8Encode(d, SCC_NEWGRF_PRINT_DWORD_DATE_LONG + code - 0x16); break; default: grfmsg(1, "missing handler for extended format code");