diff options
-rw-r--r-- | FICS/ratings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c index 7922919..2eaa5c2 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -1475,11 +1475,11 @@ DisplayRankHead(int p, int show) char Line[MAX_STRING_LENGTH] = { '\0' }; if (CheckFlag(show, SHOW_BLITZ)) - strcat(Line, " Blitz "); + strlcat(Line, " Blitz ", sizeof(Line)); if (CheckFlag(show, SHOW_STANDARD)) - strcat(Line, " Standard "); + strlcat(Line, " Standard ", sizeof(Line)); if (CheckFlag(show, SHOW_WILD)) - strcat(Line, " Wild"); + strlcat(Line, " Wild", sizeof(Line)); pprintf(p, "%s\n\n", Line); } |