From: Richard Russon Date: Wed, 13 Feb 2019 13:51:18 +0000 (+0000) Subject: fix mailbox size X-Git-Tag: 2019-10-25~371 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2d423128ae08493845e578a7f9a592b23be304d;p=neomutt fix mailbox size When re-opening a mailbox, the size wasn't being reset. --- diff --git a/mx.c b/mx.c index 9ce6f89e0..442c4832e 100644 --- a/mx.c +++ b/mx.c @@ -286,6 +286,7 @@ struct Context *mx_mbox_open(struct Mailbox *m, int flags) ctx->msgnotreadyet = -1; ctx->collapsed = false; + m->size = 0; m->msg_unread = 0; m->msg_flagged = 0; m->rights = MUTT_ACL_ALL;