X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fm_convert.c;h=3065941ab76d24088911559d990961b07158b0be;hb=db74c2bd004b2dc9bf8086a6d8bf773ac051f3cc;hp=05533f616665b40e064c63b7bf3cd9db5238d415;hpb=cff0e16925e7edbd25b8b9d6d4fbdf03e0e60c01;p=mmh diff --git a/sbr/m_convert.c b/sbr/m_convert.c index 05533f6..3065941 100644 --- 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 */ - 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); }