- /*
- ** Clear all the flags for entries outside
- ** the current message range for this folder.
- */
- if (mp->nummsg > 0) {
- for (msgnum = mp->lowoff; msgnum < mp->lowmsg; msgnum++)
- clear_msg_flags(mp, msgnum);
- for (msgnum = mp->hghmsg + 1; msgnum <= mp->hghoff; msgnum++)
- clear_msg_flags(mp, msgnum);
- } else {
- /* no messages, so clear entire range */
- for (msgnum = mp->lowoff; msgnum <= mp->hghoff; msgnum++)
- clear_msg_flags(mp, msgnum);
- }
-