From 6e8dd68c8a0c4688183ae3ed146e28a2df47218b Mon Sep 17 00:00:00 2001 From: "David F. Skoll" Date: Tue, 30 Apr 2013 15:58:02 -0400 Subject: [PATCH] Use ADVANCE_MODE rather than CAL_MODE for "-n" cmdline option. --- src/dorem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dorem.c b/src/dorem.c index 28ec6f11..97b8630d 100644 --- a/src/dorem.c +++ b/src/dorem.c @@ -751,10 +751,10 @@ int TriggerReminder(ParsePtr p, Trigger *t, TimeTrig *tim, int jul) DBufFree(&buf); } -/* If it's NextMode, process as a CAL-type entry, and issue simple-calendar - format. */ +/* If it's NextMode, process as a ADVANCE_MODE-type entry, and issue + simple-calendar format. */ if (NextMode) { - if ( (r=DoSubst(p, &buf, t, tim, jul, CAL_MODE)) ) return r; + if ( (r=DoSubst(p, &buf, t, tim, jul, ADVANCE_MODE)) ) return r; if (!DBufLen(&buf)) { DBufFree(&buf); DBufFree(&pre_buf);