Skip to content
Snippets Groups Projects
Commit 3160fa3b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix: message numbers listed with 'H' reading msgs command

Broken in commit 082a9fce 3 years ago, the 'H' (highest ranked) message listing was showing the rank of the message (e.g. 1-20) instead of the message number itself.
parent 3a5af6d6
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -968,7 +968,7 @@ int sbbs_t::scanposts(uint subnum, long mode, const char *find)
}
memcpy(ranked, post, sizeof(post_t)*smb.msgs);
qsort(ranked, smb.msgs, sizeof(post_t), rank_post);
listmsgs(subnum, 0, ranked, 0, 20);
listmsgs(subnum, 0, ranked, 0, 20, /* reading: */false);
free(ranked);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment