projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed all standard sequences (e.g. cur->c) and made them globally changeable
[mmh]
/
sbr
/
seq_add.c
diff --git
a/sbr/seq_add.c
b/sbr/seq_add.c
index
d8f019a
..
38bbdcf
100644
(file)
--- 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;
/*
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().
*/
** See seq_list() and seq_init().
*/
- if (!strcmp(current,cp))
+ if (!strcmp(seq_cur, cp))
mp->curmsg = mp->hghsel;
/*
mp->curmsg = mp->hghsel;
/*
@@
-122,9
+122,9
@@
seq_addmsg(struct msgs *mp, char *cp, int msgnum, int public, int zero)
return 0;
/*
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;
/*
mp->curmsg = msgnum;
/*