aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ratings.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-04-02 22:03:34 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-04-02 22:03:34 +0200
commitc8e580c2a5b68052cc454ad199d30bf9ff532a11 (patch)
tree0a84af465374096d4b58a39a1128be309303169c /FICS/ratings.c
parent2c9a9c1a33953eb654b0ef5eb4e4b57601209e86 (diff)
Reformatted GetRankFileName()
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r--FICS/ratings.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index d4b4bc8..a6dce61 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -968,21 +968,22 @@ PUBLIC int DisplayRank(int p, param_list param, int showComputers)
}
}
-PRIVATE int GetRankFileName(char *out, int type)
+PRIVATE int
+GetRankFileName(char *out, int type)
{
- switch (type) {
- case TYPE_BLITZ:
- sprintf(out, "%s/rank.blitz", sdir);
- return type;
- case TYPE_STAND:
- sprintf(out, "%s/rank.std", sdir);
- return type;
- case TYPE_WILD:
- sprintf(out, "%s/rank.wild", sdir);
- return type;
- default:
- return -1;
- }
+ switch (type) {
+ case TYPE_BLITZ:
+ sprintf(out, "%s/rank.blitz", sdir);
+ return type;
+ case TYPE_STAND:
+ sprintf(out, "%s/rank.std", sdir);
+ return type;
+ case TYPE_WILD:
+ sprintf(out, "%s/rank.wild", sdir);
+ return type;
+ default:
+ return -1;
+ }
}
PUBLIC void