X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fseq_setcur.c;h=f8668b0cfdc9e6de705051d5b49a2098afd8d46d;hp=f18a38876dc0bc8add3af9df43d29d38fcb2e066;hb=431604647f89d5aac7b199a7883e98e56e4ccf9e;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b diff --git a/sbr/seq_setcur.c b/sbr/seq_setcur.c index f18a388..f8668b0 100644 --- a/sbr/seq_setcur.c +++ b/sbr/seq_setcur.c @@ -1,21 +1,17 @@ - /* - * 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 - * complete copyright information. - */ +** 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 +** complete copyright information. +*/ #include void -seq_setcur (struct msgs *mp, int msgnum) +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); }