diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-12-04 20:36:45 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-12-04 20:36:45 +0100 |
commit | 6a022232ec48857440213df2a5c88b2efc7a0367 (patch) | |
tree | 23e56a97040365daf5c6740e107a67f5a89f6544 /FICS | |
parent | 3d66270b4679c906b572ee4fffeb7827fef0a1bf (diff) |
DisplayRank: give a value to 'start'
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/ratings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c index 8871071..64e1eb2 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -1344,6 +1344,7 @@ DisplayRank(int p, param_list param, int showComputers) } else if (isdigit(param[0].val.word[0])) { int ret; + start = 0; end = -1; ret = sscanf(param[0].val.word, "%d-%d", &start, &end); |