X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fseq_list.c;h=f051e38bd7879bd7da6c16dcc6b54f2588752403;hp=1e2e606a6b418a92c84c62dd767f50c6fbc10f85;hb=67411b1f95d6ec987b4c732459e1ba8a8ac192c6;hpb=714b5c530ece27ea2835a313013f5b770163403c 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);