/* unselect message */
unset_selected(mp, msgnum);
- mp->numsel--;
snprintf(msgpath, sizeof (msgpath), "%s/%d",
mp->foldpath, msgnum);
}
/* If removal was successful, decrement message count */
- unset_exists(mp, msgnum);
+ clear_msg_flags(mp, msgnum);
mp->nummsg--;
}