X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fseq_list.c;h=a6cdbdaa677fbd2ba17fea9747d603d3cd8bdd2f;hb=b0b1dd37ff515578cf7cba51625189eb34a196cb;hp=1e2e606a6b418a92c84c62dd767f50c6fbc10f85;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/sbr/seq_list.c b/sbr/seq_list.c index 1e2e606..a6cdbda 100644 --- a/sbr/seq_list.c +++ b/sbr/seq_list.c @@ -31,12 +31,12 @@ seq_list(struct msgs *mp, char *seqname) } /* - ** Special processing for "cur" sequence. We assume that the - ** "cur" sequence and mp->curmsg are in sync (see seq_add.c). + ** Special processing for the cur sequence. We assume that the + ** cur sequence and mp->curmsg are in sync (see seq_add.c). ** This is returned, even if message doesn't exist or the ** folder is empty. */ - if (!strcmp(current, seqname)) { + if (!strcmp(seq_cur, seqname)) { if (mp->curmsg) { sprintf(buffer, "%s", m_name(mp->curmsg)); return (buffer);