mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Fix weird parsing bug if you have a SKIP on an omitted day with a SATISFY.
This commit is contained in:
@@ -419,6 +419,13 @@ int ComputeTrigger(int today, Trigger *trig, int *err)
|
|||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (trig->skip == SKIP_SKIP &&
|
||||||
|
IsOmitted(result, trig->localomit) &&
|
||||||
|
result >= start) {
|
||||||
|
nextstart = result + 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Keep scanning... unless there's no point in doing it.*/
|
/* Keep scanning... unless there's no point in doing it.*/
|
||||||
if (nextstart <= start) {
|
if (nextstart <= start) {
|
||||||
if (result != -1) {
|
if (result != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user