From 3201dca9ac28b8f30a3de88a074b3b51960f0f8b Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 26 Aug 2006 14:39:05 +0000 Subject: (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. --- strings.c | 2 +- strings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/strings.c b/strings.c index d57d70129..92cfa2d6f 100644 --- a/strings.c +++ b/strings.c @@ -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); diff --git a/strings.h b/strings.h index f984bd480..063d5a365 100644 --- a/strings.h +++ b/strings.h @@ -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]; -- cgit v1.2.3-70-g09d2