summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-07-01 22:51:44 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-07-04 08:46:41 +0200
commit1c53c9d8c369d228c0fd0314b9915d218b5f5dca (patch)
tree70bcf2337a0e9750edcdb6aa0567767705689412 /src/calcurse.h
parent3f1359cdeb94c0b09e5c0cee7a487062e4ffc1e2 (diff)
downloadcalcurse-1c53c9d8c369d228c0fd0314b9915d218b5f5dca.zip
Revise todo_delete_note_bynum()
Pass an item instead of passing a list item index (analogous to commit 02c90ba53a658686bad5cb5f88c555d9eef06399). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 1fd6010..714852e 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -905,7 +905,7 @@ int todo_hilt_pos(void);
char *todo_saved_mesg(void);
struct todo *todo_add(char *, int, char *);
void todo_write(struct todo *, FILE *);
-void todo_delete_note_bynum(unsigned);
+void todo_delete_note(struct todo *);
void todo_delete(struct todo *);
void todo_flag(struct todo *);
void todo_chg_priority(struct todo *, int);