diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-04-05 19:39:49 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-04-05 19:39:49 +0200 |
commit | eb78e08e3e891b7b61a76d2f34bd4103a1105ed2 (patch) | |
tree | fadba8d75248d2eb39c7531362b542cb0b221e9c /FICS | |
parent | 8e33dc5eea79f5ee60c69d82a3a24e4d632f9e7d (diff) |
DisplayTargetRank: added usage of int_diff()
Diffstat (limited to 'FICS')
-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 5f06ccc..70dc529 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -1828,9 +1828,9 @@ DisplayTargetRank(int p, char *target, int show, int showComp) numAbove = CountAbove(numToShow, blitzRank, stdRank, wildRank, show); - blitzCount = (blitzRank - numAbove); - stdCount = (stdRank - numAbove); - wildCount = (wildRank - numAbove); + blitzCount = int_diff(__func__, blitzRank, numAbove); + stdCount = int_diff(__func__, stdRank, numAbove); + wildCount = int_diff(__func__, wildRank, numAbove); ShowRankLines(p, fb, fs, fw, blitzCount, stdCount, wildCount, numToShow, showComp, show, target); |