aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/ratings.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index d377fd9..32ba932 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -1041,18 +1041,19 @@ PUBLIC void UpdateRank(int type, char *addName,
}
#endif
-PRIVATE void DisplayRankHead(int p, int show)
+PRIVATE void
+DisplayRankHead(int p, int show)
{
- char Line[MAX_STRING_LENGTH];
-
- Line[0] = '\0';
- if (CheckFlag(show, SHOW_BLITZ))
- strcat(Line, " Blitz ");
- if (CheckFlag(show, SHOW_STANDARD))
- strcat(Line, " Standard ");
- if (CheckFlag(show, SHOW_WILD))
- strcat(Line, " Wild");
- pprintf(p, "%s\n\n", Line);
+ char Line[MAX_STRING_LENGTH] = { '\0' };
+
+ if (CheckFlag(show, SHOW_BLITZ))
+ strcat(Line, " Blitz ");
+ if (CheckFlag(show, SHOW_STANDARD))
+ strcat(Line, " Standard ");
+ if (CheckFlag(show, SHOW_WILD))
+ strcat(Line, " Wild");
+
+ pprintf(p, "%s\n\n", Line);
}
PRIVATE int