diff options
-rw-r--r-- | FICS/ratings.c | 29 |
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 |