]> diplodocus.org Git - nmh/blob - sbr/seq_setcur.c
Just reworded the bit about '%s' being safe not to quote (it's only safe not to
[nmh] / sbr / seq_setcur.c
1
2 /*
3 * seq_setcur.c -- set the current message ("cur" sequence) for a folder
4 *
5 * $Id$
6 */
7
8 #include <h/mh.h>
9
10
11 void
12 seq_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 }