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-Tag: RELEASE_1_2~84 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;ds=sidebyside;h=b8eb926caef0c1031539ccae6443e6d7f37282f5;hp=3a98db03a5a9ae31af39cbd793260021e95ff104;p=mmh 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 ec4f520..1b49a84 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);