summaryrefslogtreecommitdiff
path: root/src/todo.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-01-20 10:45:38 +0000
committerFrederic Culot <calcurse@culot.org>2008-01-20 10:45:38 +0000
commit407a262938a3aafb3be7d3077b4bf3c0656f4abe (patch)
tree9ee22bc3c73ad1070bb270b41e9bce0ae04eadbe /src/todo.c
parent54c2b6004102de55c8ebed7d9ce5f1ece7eeb449 (diff)
downloadcalcurse-407a262938a3aafb3be7d3077b4bf3c0656f4abe.zip
Code parts related to item update rewritten
Diffstat (limited to 'src/todo.c')
-rwxr-xr-xsrc/todo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/todo.c b/src/todo.c
index 322ec6d..cd38001 100755
--- a/src/todo.c
+++ b/src/todo.c
@@ -1,4 +1,4 @@
-/* $calcurse: todo.c,v 1.18 2008/01/13 12:40:45 culot Exp $ */
+/* $calcurse: todo.c,v 1.19 2008/01/20 10:45:39 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -188,7 +188,7 @@ todo_delete_note_bynum(unsigned num)
ierror(
_("FATAL ERROR in todo_delete_note_bynum: "
"no note attached\n"), IERROR_FATAL);
- erase_note(&i->note);
+ erase_note(&i->note, ERASE_FORCE_ONLY_NOTE);
return;
}
iptr = &i->next;
@@ -214,7 +214,7 @@ todo_delete_bynum(unsigned num)
*iptr = i->next;
free(i->mesg);
if (i->note != NULL)
- erase_note(&i->note);
+ erase_note(&i->note, ERASE_FORCE);
free(i);
return;
}