]> git.marmaro.de Git - mmh/blobdiff - sbr/m_convert.c
Inverted the second arg of seq_setunseen(), to be more natural.
[mmh] / sbr / m_convert.c
index 05533f616665b40e064c63b7bf3cd9db5238d415..3065941ab76d24088911559d990961b07158b0be 100644 (file)
@@ -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);
        }