Bug 1984: length of ship description is longer than a name, size buffer

appropriately.
This commit is contained in:
Enno Rehling 2014-02-06 10:45:52 +01:00
parent a774f882e5
commit 29124b92e2
1 changed files with 1 additions and 1 deletions

View File

@ -1194,7 +1194,7 @@ faction *readfaction(struct gamedata * data)
ally **sfp;
int planes, n;
faction *f;
char name[NAMESIZE];
char name[DISPLAYSIZE];
READ_INT(data->store, &n);
f = findfaction(n);