Changeset - r4916:322b76cb2c63
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2006-10-22 00:05:19
peter1138@openttd.org
(svn r6890) - Fix (r6884): Supply last position of the correct buffer...
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
strings.c
Show inline comments
 
@@ -198,15 +198,15 @@ static char *GetStringWithArgs(char *buf
 
			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:
0 comments (0 inline, 0 general)