diff options
author | tron <tron@openttd.org> | 2005-11-15 09:00:02 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-15 09:00:02 +0000 |
commit | 8a3587fa286d6d3dec354c2b4cb27657ee813044 (patch) | |
tree | 403f3895461c780ab3903620ba2129a83d43eaea /strings.c | |
parent | 84a16a0b30c3c8f1df9a3e9fa8c2bb1e88199403 (diff) | |
download | openttd-8a3587fa286d6d3dec354c2b4cb27657ee813044.tar.xz |
(svn r3185) const
Diffstat (limited to 'strings.c')
-rw-r--r-- | strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -613,7 +613,7 @@ static char *FormatString(char *buff, const char *str, const int32 *argv, uint c } case 13: { // {G 0 Der Die Das} - byte *s = (byte*)GetStringPtr(argv_orig[(byte)*str++]); // contains the string that determines gender. + const byte* s = (const byte*)GetStringPtr(argv_orig[(byte)*str++]); // contains the string that determines gender. int len; int gender = 0; if (s != NULL && s[0] == 0x87) gender = s[1]; |