]> git.marmaro.de Git - mmh/blobdiff - sbr/seq_setcur.c
Add %(unmailto) format function for List-Post headers
[mmh] / sbr / seq_setcur.c
index 0de8b9709a735c038116461754af292c43b436cd..f8668b0cfdc9e6de705051d5b49a2098afd8d46d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** seq_setcur.c -- set the current message ("cur" sequence) for a folder
+** seq_setcur.c -- set the current message (cur sequence) for a folder
 **
 ** This code is Copyright (c) 2002, by the authors of nmh.  See the
 ** COPYRIGHT file in the root directory of the nmh distribution for
@@ -12,9 +12,6 @@
 void
 seq_setcur(struct msgs *mp, int msgnum)
 {
-       /*
-       ** Just call seq_addmsg() to update the
-       ** "cur" sequence.
-       */
-       seq_addmsg(mp, current, msgnum, -1, 1);
+       /* Just call seq_addmsg() to update the cur sequence. */
+       seq_addmsg(mp, seq_cur, msgnum, -1, 1);
 }