diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-06 08:57:38 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-21 08:58:53 +0200 |
commit | b0a6e1d4482499bbaa08238a8cb09b6f692556d6 (patch) | |
tree | 7cffb33ce09b5779f5a7806ef9a88ffe1b5a15a9 /src/io.c | |
parent | 3e84074ae55bc93faad0b708aa0dd6fd0f09ade9 (diff) | |
download | calcurse-b0a6e1d4482499bbaa08238a8cb09b6f692556d6.zip |
Pass item durations to recur_item_inday()
Having item's durations eventually allows for better parsing of
recurrent appointments as we might be interested in how many days are
covered by a multi-day appointment.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -264,8 +264,8 @@ foreach_date_dump (const long date_end, struct rpt *rpt, llist_t *exc, while (date <= date_end && date <= rpt->until) { - if (recur_item_inday (item_first_date, exc, rpt->type, rpt->freq, - rpt->until, date)) + if (recur_item_inday (item_first_date, item_dur, exc, rpt->type, + rpt->freq, rpt->until, date)) { (*cb_dump)(stream, date + item_time, item_dur, item_mesg); } |