(svn r6890) - Fix (r6884): Supply last position of the correct buffer...

This commit is contained in:
peter1138 2006-10-22 00:05:19 +00:00
parent d279b51dff
commit 697a8fa8c0
1 changed files with 3 additions and 3 deletions

View File

@ -198,15 +198,15 @@ static char *GetStringWithArgs(char *buffr, uint string, const int32 *argv, cons
break;
case 28:
GetGRFString(buff, index, last);
GetGRFString(buff, index, lastof(buff));
return FormatString(buffr, buff, argv, 0, last);
case 29:
GetGRFString(buff, index + 0x800, last);
GetGRFString(buff, index + 0x800, lastof(buff));
return FormatString(buffr, buff, argv, 0, last);
case 30:
GetGRFString(buff, index + 0x1000, last);
GetGRFString(buff, index + 0x1000, lastof(buff));
return FormatString(buffr, buff, argv, 0, last);
case 31: