summaryrefslogtreecommitdiff
path: root/src/newgrf_text.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-10-29 21:00:11 +0000
committeryexo <yexo@openttd.org>2011-10-29 21:00:11 +0000
commitbd6d490987fe6767b8bb07ef9bf7753049c0c564 (patch)
tree28fa8310e3d9e010980c48471f92f929eb12d5e3 /src/newgrf_text.cpp
parent307ca24427928234fccd36a3235b296c0b9d21f3 (diff)
downloadopenttd-bd6d490987fe6767b8bb07ef9bf7753049c0c564.tar.xz
(svn r23064) -Fix (r23062): incrementing hexadecimal numbers is hard...
Diffstat (limited to 'src/newgrf_text.cpp')
-rw-r--r--src/newgrf_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index e31e68ff0..5a0412854 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -584,7 +584,7 @@ char *TranslateTTDPatchCodes(uint32 grfid, uint8 language_id, bool allow_newline
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");