From 6540ae18fd4447ecd4f5dd04b35c3e8248da3124 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 26 Aug 2006 20:54:30 +0000 Subject: (svn r6158) -Revert r6139 as that breaks strings with cases. Thanks michi_cc --- strings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'strings.c') diff --git a/strings.c b/strings.c index 92cfa2d6f..3e1e9462b 100644 --- a/strings.c +++ b/strings.c @@ -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); -- cgit v1.2.3-54-g00ecf