source: trunk/third/nmh/sbr/seq_setcur.c @ 12455

Revision 12455, 344 bytes checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1
2/*
3 * seq_setcur.c -- set the current message ("cur" sequence) for a folder
4 *
5 * $Id: seq_setcur.c,v 1.1.1.1 1999-02-07 18:14:10 danw Exp $
6 */
7
8#include <h/mh.h>
9
10
11void
12seq_setcur (struct msgs *mp, int msgnum)
13{
14    /*
15     * Just call seq_addmsg() to update the
16     * "cur" sequence.
17     */
18    seq_addmsg (mp, current, msgnum, -1, 1);
19}
Note: See TracBrowser for help on using the repository browser.