X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fseq_add.c;h=38bbdcf69a2ccdd534c6a40a5ea60f4d75d40ab9;hp=d8f019ab6f65e26653d7e136afeeb863b61f4ee8;hb=3cc8ed080f6e741b8df04a3ebe764c659e75cb38;hpb=a7771fd2e83d64228fb675749fc936151249dbd3 diff --git a/sbr/seq_add.c b/sbr/seq_add.c index d8f019a..38bbdcf 100644 --- a/sbr/seq_add.c +++ b/sbr/seq_add.c @@ -30,10 +30,10 @@ seq_addsel(struct msgs *mp, char *cp, int public, int zero) return 0; /* - ** We keep mp->curmsg and "cur" sequence in sync. + ** We keep mp->curmsg and cur sequence in sync. ** See seq_list() and seq_init(). */ - if (!strcmp(current,cp)) + if (!strcmp(seq_cur, cp)) mp->curmsg = mp->hghsel; /* @@ -122,9 +122,9 @@ seq_addmsg(struct msgs *mp, char *cp, int msgnum, int public, int zero) return 0; /* - ** keep mp->curmsg and msgattrs["cur"] in sync - see seq_list() + ** keep mp->curmsg and msgattrs[] of seq_cur in sync - see seq_list() */ - if (!strcmp(current,cp)) + if (!strcmp(seq_cur, cp)) mp->curmsg = msgnum; /*