- for (msgnum = mp->lowmsg; msgnum <= mp->hghmsg; msgnum++) {
- if (does_exist (mp, msgnum))
- add_sequence (mp, i, msgnum);
- else
- clear_sequence (mp, i, msgnum);
- }
- } else {
- if (new_seq) {
- advise (NULL, "no such sequence as %s", cp);
- return 0;
- }
- }
-
- /*
- * Now clear the bit on all selected messages
- */
- for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++)
- if (is_selected (mp, msgnum))
- clear_sequence (mp, i, msgnum);
-
- /*
- * Set the public/private bit for this sequence.
- */
- if (public == 1)
- make_seq_public (mp, i);
- else if (public == 0)
- make_seq_private (mp, i);
- else if (new_seq) {
+ for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++)
+ if (is_selected (mp, msgnum))
+ clear_sequence (mp, i, msgnum);
+