(svn r6139) -Codechange: strings are StringID. This should be changed in strings.h as well, but you would need to include openttd.h and that opens a whole new can of worms.

This commit is contained in:
Darkvater 2006-08-26 14:39:05 +00:00
parent 5eb6d9202c
commit 0babca183e
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ static const char *GetStringPtr(StringID string)
// 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, uint string, const int32 *argv)
char *GetStringWithArgs(char *buffr, StringID string, const int32 *argv)
{
uint index = GB(string, 0, 11);
uint tab = GB(string, 11, 5);

View File

@ -12,7 +12,7 @@ static inline char* InlineString(char* buf, uint16 string)
}
char *GetString(char *buffr, uint16 string);
char *GetStringWithArgs(char *buffr, uint string, const int32 *argv);
char *GetStringWithArgs(char *buffr, uint16 string, const int32 *argv);
extern char _userstring[128];