Renamed all standard sequences (e.g. cur->c) and made them globally changeable
[mmh] / sbr / seq_list.c
index 1e2e606..a6cdbda 100644 (file)
@@ -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);