X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ffolder_delmsgs.c;h=b145e0b8620664710eec67566f0e266defec2c93;hp=8e5fd0a2e9401e7bba01e302f3c4ee377eac291e;hb=f7d9cd4bee03230dd8839581f772bdf2bdbf3c97;hpb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c diff --git a/sbr/folder_delmsgs.c b/sbr/folder_delmsgs.c index 8e5fd0a..b145e0b 100644 --- a/sbr/folder_delmsgs.c +++ b/sbr/folder_delmsgs.c @@ -28,7 +28,6 @@ folder_delmsgs(struct msgs *mp, int hook) /* unselect message */ unset_selected(mp, msgnum); - mp->numsel--; snprintf(msgpath, sizeof (msgpath), "%s/%d", mp->foldpath, msgnum); @@ -46,7 +45,7 @@ folder_delmsgs(struct msgs *mp, int hook) } /* If removal was successful, decrement message count */ - unset_exists(mp, msgnum); + clear_msg_flags(mp, msgnum); mp->nummsg--; }