summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-08-27 10:04:33 +0000
committerDarkvater <darkvater@openttd.org>2006-08-27 10:04:33 +0000
commit2f6a4bc1a92aeb4904e5e84e23fa28d0307a303c (patch)
tree7b7c2c5ef41754f3d2854fc5337bb50a88959b3b /strings.c
parent5dec21ff0f3b0b7dce51254d1254d548a9f91093 (diff)
downloadopenttd-2f6a4bc1a92aeb4904e5e84e23fa28d0307a303c.tar.xz
(svn r6169) -Codechange: Use GetString() instead of GetStringWithArgs() which should be
integral to strings.c
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings.c b/strings.c
index 3e1e9462b..269eddc17 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, therefore string CANNOT be StringID, but uint32.
-char *GetStringWithArgs(char *buffr, uint string, const int32 *argv)
+static char *GetStringWithArgs(char *buffr, uint string, const int32 *argv)
{
uint index = GB(string, 0, 11);
uint tab = GB(string, 11, 5);