diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-07 19:22:49 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-07 21:40:56 +0200 |
commit | 0f20693b07cb67c64d125cc1b07522826e4f8e00 (patch) | |
tree | 318e55e4021c3c57d1753d7665241e4f6e2fb7f2 /src/day.c | |
parent | 13c21ac28023542a10cb75c085ce1925da2cdd0e (diff) | |
download | calcurse-0f20693b07cb67c64d125cc1b07522826e4f8e00.zip |
Remove the erase flag and legacy deletion code
This is no longer needed. Note removal, as well as exception handling,
have been moved to separate functions and the cut feature has been
merged into the deletion function.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/day.c')
-rw-r--r-- | src/day.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -656,16 +656,16 @@ struct day_item *day_cut_item(long date, int item_number) switch (p->type) { case EVNT: - event_delete(p->item.ev, ERASE_CUT); + event_delete(p->item.ev); break; case RECUR_EVNT: - recur_event_erase(p->item.rev, ERASE_CUT); + recur_event_erase(p->item.rev); break; case APPT: - apoint_delete(p->item.apt, ERASE_CUT); + apoint_delete(p->item.apt); break; case RECUR_APPT: - recur_apoint_erase(p->item.rapt, ERASE_CUT); + recur_apoint_erase(p->item.rapt); break; default: EXIT(_("unknwon type")); |