1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 00:19:09 +00:00

(svn r6896) - Fix (r6895): Supply last position of the correct buffer *again*

This commit is contained in:
2006-10-22 15:13:48 +00:00
parent 9f1163af09
commit 4c4da881f0

View File

@@ -921,7 +921,7 @@ static char *GetSpecialTownNameString(char *buff, int ind, uint32 seed, const ch
{
char name[512];
_town_name_generators[ind](name, seed, last);
_town_name_generators[ind](name, seed, lastof(name));
return strecpy(buff, name, last);
}