diff options
author | Frederic Culot <calcurse@culot.org> | 2006-12-08 08:41:41 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-12-08 08:41:41 +0000 |
commit | 99e4193f5eccaac787b2d2b172505633a86a694c (patch) | |
tree | 5b01d234bfe7345a5bbd0b21e49dc2ffde38a995 /src | |
parent | 32e2ca33fdd9b7df14c413c6fd89f76bf540c971 (diff) | |
download | calcurse-99e4193f5eccaac787b2d2b172505633a86a694c.tar.gz calcurse-99e4193f5eccaac787b2d2b172505633a86a694c.zip |
calls to day_erase_item() and day_edit_item() updated
Diffstat (limited to 'src')
-rwxr-xr-x | src/calcurse.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 52cb2d7..063eaef 100755 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -1,4 +1,4 @@ -/* $calcurse: calcurse.c,v 1.27 2006/11/30 14:47:04 culot Exp $ */ +/* $calcurse: calcurse.c,v 1.28 2006/12/08 08:41:41 culot Exp $ */ /* * Calcurse - text-based organizer @@ -336,9 +336,11 @@ int main(int argc, char **argv) case 'E': case 'e': /* Edit an existing item */ if (which_pan == APPOINTMENT) - day_edit_item(hilt_app, colr); + day_edit_item(sel_year, sel_month, sel_day, + hilt_app, colr); else if (which_pan == TODO) todo_edit_item(hilt_tod, colr); + do_storage = true; break; case 'D': @@ -1031,7 +1033,8 @@ void del_item(void) if (go_for_deletion) { if (nb_items != 0) { - deleted_item_type = day_erase_item(date, hilt_app); + deleted_item_type = + day_erase_item(date, hilt_app, 0); if (deleted_item_type == EVNT || deleted_item_type == RECUR_EVNT) { number_events_inday--; |