diff options
author | Darkvater <Darkvater@openttd.org> | 2006-08-26 20:54:30 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-08-26 20:54:30 +0000 |
commit | ea0fbc1118e7455241827c330bb845c768db3655 (patch) | |
tree | 66fe02d43990796cae75b40588f5d49cbc65d424 /strings.c | |
parent | 7f84bcc91733848aa829920c2cc77b4dfcacbb6d (diff) | |
download | openttd-ea0fbc1118e7455241827c330bb845c768db3655.tar.xz |
(svn r6158) -Revert r6139 as that breaks strings with cases. Thanks michi_cc
Diffstat (limited to 'strings.c')
-rw-r--r-- | strings.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -167,8 +167,8 @@ static const char *GetStringPtr(StringID string) // The highest 8 bits of string contain the "case index". // These 8 bits will only be set when FormatString wants to print // the string in a different case. No one else except FormatString -// should set those bits. -char *GetStringWithArgs(char *buffr, StringID string, const int32 *argv) +// should set those bits, therefore string CANNOT be StringID, but uint32. +char *GetStringWithArgs(char *buffr, uint string, const int32 *argv) { uint index = GB(string, 0, 11); uint tab = GB(string, 11, 5); |