mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Make slide function diagnose "Can't OMIT every weekday"
This commit is contained in:
@@ -2515,6 +2515,8 @@ FSlide(void)
|
||||
localomit |= (1 << tok.val);
|
||||
}
|
||||
|
||||
/* If ALL weekdays are omitted... barf! */
|
||||
if (localomit == 127 && amt != 0) return E_2MANY_LOCALOMIT;
|
||||
if (amt > 0) {
|
||||
while(amt) {
|
||||
d++;
|
||||
|
||||
Reference in New Issue
Block a user