The flag, in struct Option, allowing a regex to use a '!' (not) is part
of the type, not the flags field.
return 0;
}
- struct Regex *rnew = mutt_regex_create(tmp->data, MuttVars[idx].flags, err);
+ struct Regex *rnew = mutt_regex_create(tmp->data, MuttVars[idx].type, err);
if (!rnew)
return 1;
if (*ptr)
mutt_regex_free(ptr);
- *ptr = mutt_regex_create((const char *) p->initial, p->flags, NULL);
+ *ptr = mutt_regex_create((const char *) p->initial, p->type, NULL);
break;
}
}