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

This commit is contained in:
peter1138 2006-10-22 15:13:48 +00:00
parent 9f1163af09
commit 4c4da881f0
1 changed files with 1 additions and 1 deletions

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);
}