]>
diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/sbr/m_setseq.c
1 /* m_setseq.c - set the previous-sequence */
8 register struct msgs
*mp
;
16 if ((cp
= m_find (psequence
)) == NULL
17 || (ap
= brkstring (dp
= getcpy (cp
), " ", "\n")) == NULL
25 if (m_seqnew (mp
, *ap
, -1))
26 for (msgnum
= mp
-> lowsel
; msgnum
<= mp
-> hghsel
; msgnum
++)
27 if (mp
-> msgstats
[msgnum
] & SELECTED
)
28 (void) m_seqadd (mp
, *ap
, msgnum
, -1);