Make a SATISFY-type reminder with ADDOMIT but no MSG actually add to the omits.

Previously, something like: REM 1 May ADDOMIT SATISFY 1
would not add to the global OMIT list.
This commit is contained in:
Dianne Skoll
2022-10-06 08:35:50 -04:00
parent aedd759f50
commit dedb9766c9

View File

@@ -96,9 +96,13 @@ int DoRem(ParsePtr p)
FindToken(DBufValue(&buf), &tok);
DBufFree(&buf);
if (tok.type == T_Empty || tok.type == T_Comment) {
r = OK;
if (trig.addomit) {
r = AddGlobalOmit(LastTriggerDate);
}
DBufFree(&buf);
FreeTrig(&trig);
return OK;
return r;
}
if (tok.type != T_RemType || tok.val == SAT_TYPE) {
DBufFree(&buf);