if (index && Context)
{
- oldcount = Context->msgcount;
- index->max = Context->vcount;
/* After the mailbox has been updated,
* index->current might be invalid */
update_index (index, Context, check, oldcount, index_hint);
Context->quiet = q;
+ index->max = Context->vcount;
+
/* If these header pointers don't match, then our email may have
* been deleted. Make the pointer safe, then leave the pager */
if (extra->hdr != Context->hdrs[Context->v2r[index->current]])