mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
Make early exit contingent upon ParseUntriggered.
This commit is contained in:
@@ -2078,7 +2078,7 @@ static int DoCalRem(ParsePtr p, int col)
|
||||
FreeTrig(&trig);
|
||||
return OK;
|
||||
}
|
||||
if (dse < 0) {
|
||||
if (dse < 0 && !ParseUntriggered) {
|
||||
/* Expired */
|
||||
FreeTrig(&trig);
|
||||
return OK;
|
||||
@@ -2095,7 +2095,7 @@ static int DoCalRem(ParsePtr p, int col)
|
||||
FreeTrig(&trig);
|
||||
return r;
|
||||
}
|
||||
if (dse < 0) {
|
||||
if (dse < 0 && !ParseUntriggered) {
|
||||
/* Expired */
|
||||
FreeTrig(&trig);
|
||||
return OK;
|
||||
|
||||
@@ -501,6 +501,9 @@ int DoOmit(ParsePtr p)
|
||||
int
|
||||
AddGlobalOmit(int dse)
|
||||
{
|
||||
if (dse < 0) {
|
||||
return OK;
|
||||
}
|
||||
if (NumFullOmits == MAX_FULL_OMITS) return E_2MANY_FULL;
|
||||
if (!BexistsIntArray(FullOmitArray, NumFullOmits, dse)) {
|
||||
InsertIntoSortedArray(FullOmitArray, NumFullOmits, dse);
|
||||
|
||||
Reference in New Issue
Block a user