aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/gamedb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index 5becbd4..99600f8 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -1239,7 +1239,7 @@ ReadV1GameFmt(game *g, FILE *fp, const char *file, int version)
_Static_assert(17 < ARRAY_SIZE(g->white_name), "Unexpected array size");
_Static_assert(17 < ARRAY_SIZE(g->black_name), "Unexpected array size");
- ret[0] = fscanf(fp, "%s %s", g->white_name, g->black_name);
+ ret[0] = fscanf(fp, "%17s %17s", g->white_name, g->black_name);
ret[1] = fscanf(fp, "%d %d", &g->white_rating, &g->black_rating);
ret[2] = fscanf(fp, "%d %d %d %d",
&g->wInitTime,