From: Jeffrey C Honig Date: Sun, 14 Sep 2003 13:25:55 +0000 (+0000) Subject: The first ``inc'' into an empty folder would not update the unseen X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/b8eb926caef0c1031539ccae6443e6d7f37282f5 The first ``inc'' into an empty folder would not update the unseen sequence. This is because seq_list() will return NULL if mp->nummsg is zero. Insure that mp->nummsg is incremented. --- diff --git a/uip/inc.c b/uip/inc.c index ec4f520d..1b49a846 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -844,6 +844,7 @@ go_to_it: msgnum++; mp->hghmsg++; + mp->nummsg++; clear_msg_flags (mp, msgnum); set_exists (mp, msgnum); set_unseen (mp, msgnum);