X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fseq_list.c;h=f051e38bd7879bd7da6c16dcc6b54f2588752403;hb=ca1023716d4c2ab890696f3e41fa0d94267a940e;hp=1e2e606a6b418a92c84c62dd767f50c6fbc10f85;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/sbr/seq_list.c b/sbr/seq_list.c index 1e2e606..f051e38 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)==0) { if (mp->curmsg) { sprintf(buffer, "%s", m_name(mp->curmsg)); return (buffer);