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)
if(useron.misc&WIP)
menu("msgscan");
ASYNC;
if(unvalidated < smb.curmsg+1)
bprintf(text[UnvalidatedWarning],unvalidated);
if(unvalidated < smb.curmsg)
bprintf(text[UnvalidatedWarning],unvalidated+1);
bprintf(text[ReadingSub],ugrp,cfg.grp[cfg.sub[subnum]->grp]->sname
,usub,cfg.sub[subnum]->sname,smb.curmsg+1,smb.msgs);
sprintf(str,"ABCDEFILMPQRTY?<>[]{}-+.,");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment