projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Inverted the second arg of seq_setunseen(), to be more natural.
[mmh]
/
sbr
/
m_convert.c
diff --git
a/sbr/m_convert.c
b/sbr/m_convert.c
index
05533f6
..
3065941
100644
(file)
--- a/
sbr/m_convert.c
+++ b/
sbr/m_convert.c
@@
-335,8
+335,10
@@
attr(struct msgs *mp, char *cp)
return 0;
/* Check for sequence negation */
return 0;
/* Check for sequence negation */
- if ((dp = context_find(nsequence)) && *dp != '\0' &&
- isprefix(dp, cp)) {
+ if (!(dp = context_find(nsequence))) {
+ dp = seq_neg; /* use default */
+ }
+ if (dp && *dp && isprefix(dp, cp)) {
inverted = 1;
cp += strlen(dp);
}
inverted = 1;
cp += strlen(dp);
}