Skip to content
Snippets Groups Projects
Commit de4707c8 authored by deuce's avatar deuce
Browse files

Fix a pair of off-by-one bux in previous commit

parent a2d6a264
No related branches found
No related tags found
No related merge requests found
...@@ -691,8 +691,8 @@ int sbbs_t::scanposts(uint subnum, long mode, const char *find) ...@@ -691,8 +691,8 @@ int sbbs_t::scanposts(uint subnum, long mode, const char *find)
if(useron.misc&WIP) if(useron.misc&WIP)
menu("msgscan"); menu("msgscan");
ASYNC; ASYNC;
if(unvalidated < smb.curmsg+1) if(unvalidated < smb.curmsg)
bprintf(text[UnvalidatedWarning],unvalidated); bprintf(text[UnvalidatedWarning],unvalidated+1);
bprintf(text[ReadingSub],ugrp,cfg.grp[cfg.sub[subnum]->grp]->sname bprintf(text[ReadingSub],ugrp,cfg.grp[cfg.sub[subnum]->grp]->sname
,usub,cfg.sub[subnum]->sname,smb.curmsg+1,smb.msgs); ,usub,cfg.sub[subnum]->sname,smb.curmsg+1,smb.msgs);
sprintf(str,"ABCDEFILMPQRTY?<>[]{}-+.,"); sprintf(str,"ABCDEFILMPQRTY?<>[]{}-+.,");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment